Creates a donut chart
| :license: | the XML/SWF charts license |
| :chart_id: | the name of the chart style sheet. |
# File lib/ziya/charts/donut.rb, line 13
13: def initialize( license=nil, chart_id=nil )
14: super( license, chart_id )
15: @type = "donut"
16: end
--- SEC00029
--- ""
---
- methods:
- visibility: public
aref: M000096
name: new
sourcecode: " <span class=\"ruby-comment cmt\"># File lib/ziya/charts/donut.rb, line 13</span>\n\
13: <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">initialize</span>( <span class=\"ruby-identifier\">license</span>=<span class=\"ruby-keyword kw\">nil</span>, <span class=\"ruby-identifier\">chart_id</span>=<span class=\"ruby-keyword kw\">nil</span> )\n\
14: <span class=\"ruby-keyword kw\">super</span>( <span class=\"ruby-identifier\">license</span>, <span class=\"ruby-identifier\">chart_id</span> )\n\
15: <span class=\"ruby-ivar\">@type</span> = <span class=\"ruby-value str\">"donut"</span> \n\
16: <span class=\"ruby-keyword kw\">end</span>"
m_desc: |-
<p>
Creates a donut chart
</p>
<table>
<tr><td valign="top"><tt>:license</tt>:</td><td>the XML/SWF charts license
</td></tr>
<tr><td valign="top"><tt>:chart_id</tt>:</td><td>the name of the chart style sheet.
</td></tr>
</table>
params: ( license=nil, chart_id=nil )
category: Class
type: Public
---
Generated with the Darkfish Rdoc Generator.