Class: OpenFlashChart::Line

Inherits:
LineBase show all
Defined in:
lib/plugins/open_flash_chart/lib/open_flash_chart/line.rb

Instance Method Summary (collapse)

Methods inherited from LineBase

#loop

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

- (Line) initialize(args = {})

Returns a new instance of Line



12
13
14
15
16
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/line.rb', line 12

def initialize args={}
  super
  @type = "line"      
  @values = []
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OpenFlashChart::Base

Instance Method Details

- (Object) set_default_dot_style(style)



18
19
20
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/line.rb', line 18

def set_default_dot_style(style)
  @dot_style = style
end