Class: AmCharts::Chart::Serial

Inherits:
Rectangular show all
Defined in:
lib/amcharts/chart/serial.rb

Instance Attribute Summary

Attributes inherited from Rectangular

#value_axes

Attributes inherited from AmCharts::Chart

#container, #data, #data_provider, #data_source, #export, #functions, #graphs, #height, #labels, #legend_div, #legends, #listeners, #loading_indicator, #settings, #titles, #width

Instance Method Summary collapse

Methods inherited from Rectangular

#cursor, #initialize, #scrollbar

Methods inherited from AmCharts::Chart

#add_label, #add_title, amchart_type, #amchart_type, #call_function, #category_field, clear_defaults, defaults, #defer?, #detach_legend, #dimensions=, #export?, #initialize, #keys, #loading_indicator!, #loading_indicator?, #process_data, type, #type, #update_settings, #value_axes

Constructor Details

This class inherits a constructor from AmCharts::Chart::Rectangular

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AmCharts::Chart

Instance Method Details

#category_axis(&block) ⇒ Object



5
6
7
8
# File 'lib/amcharts/chart/serial.rb', line 5

def category_axis(&block)
  return @category_axis unless block_given?
  @category_axis ||= Axis::Category.new(&block)
end