Class: OpenFlashChart::YLegend
- Inherits:
-
Base
- Object
- Base
- OpenFlashChart::YLegend
- Defined in:
- lib/plugins/open_flash_chart/lib/open_flash_chart/y_legend.rb
Direct Known Subclasses
Instance Method Summary (collapse)
-
- (YLegend) initialize(text = '', args = {})
constructor
A new instance of YLegend.
Methods inherited from Base
#<<, #add_element, #append_value, #attach_to_right_y_axis, #method_missing, #render, #set_colours, #set_key, #set_offset, #set_range, #set_tooltip, #to_json2
Constructor Details
- (YLegend) initialize(text = '', args = {})
Returns a new instance of YLegend
4 5 6 7 |
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/y_legend.rb', line 4 def initialize(text = '', args={}) super args @text = text end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenFlashChart::Base