Class: Ziya::Charts::Area
Instance Attribute Summary
Attributes inherited from Base
#id, #license, #options, #size, #theme, #type
Instance Method Summary collapse
-
#initialize(license = nil, chart_id = nil) ⇒ Area
constructor
- Creates an area chart
:license
- the XML/SWF charts license
:chart_id
-
the name of the chart style sheet.
- the XML/SWF charts license
- Creates an area chart
Methods inherited from Base
#add, components, #default_theme, #load_helpers, mode_data, mode_reset, #to_s
Methods included from YamlHelpers::Charts
#chart, #chart_url, #component, #drawing
Methods included from YamlHelpers::Base
Methods included from HtmlHelpers::Charts
#_ziya_chart, #chart_path, #charts_swf, #charts_swf_base, #class_id, #codebase, #composite_base_url, #composite_url, #default_chart_options, #gen_composite_path, #gen_swf_path, #ziya_chart, #ziya_chart_js, #ziya_javascript_include_tag
Methods included from HtmlHelpers::Base
#escape_chars, #escape_once, #escape_url, #mime, #plugin_url, #setup_movie_size, #setup_wmode, #tag_options, #ziya_tag
Constructor Details
#initialize(license = nil, chart_id = nil) ⇒ Area
Creates an area chart
:license
-
the XML/SWF charts license
:chart_id
-
the name of the chart style sheet.
13 14 15 16 |
# File 'lib/ziya/charts/area.rb', line 13 def initialize( license=nil, chart_id=nil ) super( license, chart_id ) @type = "area" end |