Class: Ziya::Charts::Polar

Inherits:
Base
  • Object
show all
Defined in:
lib/ziya/charts/polar.rb

Instance Attribute Summary

Attributes inherited from Base

#id, #license, #options, #size, #theme, #type

Instance Method Summary collapse

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

#clazz, #indent

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) ⇒ Polar

Creates a polar chart

:license

the XML/SWF charts license

:chart_id

the name of the chart style sheet.



11
12
13
14
# File 'lib/ziya/charts/polar.rb', line 11

def initialize( license=nil, chart_id=nil)
  super( license, chart_id )
  @type = "polar"      
end