Methods

Class Index

Quicksearch

Ziya::Charts::Pie

Public Class Methods

new( license=nil, chart_id=nil ) click to toggle source

Creates a pie chart

:license:the XML/SWF charts license
:chart_id:the name of the chart style sheet.

    # File lib/ziya/charts/pie.rb, line 11
11:     def initialize( license=nil, chart_id=nil )
12:       super( license, chart_id )
13:       @type = "pie"      
14:     end

secsequence

--- SEC00045

seccomment

--- ""

method_list

--- 
- methods: 
  - visibility: public
    aref: M000094
    name: new
    sourcecode: "    <span class=\"ruby-comment cmt\"># File lib/ziya/charts/pie.rb, line 11</span>\n\
      11:     <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\
      12:       <span class=\"ruby-keyword kw\">super</span>( <span class=\"ruby-identifier\">license</span>, <span class=\"ruby-identifier\">chart_id</span> )\n\
      13:       <span class=\"ruby-ivar\">@type</span> = <span class=\"ruby-value str\">&quot;pie&quot;</span>      \n\
      14:     <span class=\"ruby-keyword kw\">end</span>"
    m_desc: |-
      <p>
      Creates a pie 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

sectitle

--- 

[Validate]

Generated with the Darkfish Rdoc Generator.