Class: OpenFlashChart::YAxisLabel
- Inherits:
-
Base
- Object
- Base
- OpenFlashChart::YAxisLabel
- Defined in:
- lib/plugins/open_flash_chart/lib/open_flash_chart/y_axis_label.rb
Instance Method Summary (collapse)
-
- (YAxisLabel) initialize(y, text)
constructor
A new instance of YAxisLabel.
- - (Object) set_vertical
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
- (YAxisLabel) initialize(y, text)
Returns a new instance of YAxisLabel
3 4 5 6 |
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/y_axis_label.rb', line 3 def initialize(y, text) @y = y @text = text end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenFlashChart::Base
Instance Method Details
- (Object) set_vertical
8 9 10 |
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/y_axis_label.rb', line 8 def set_vertical @rotate = "vertical" end |