Class: RailsCharts::CustomChart
- Defined in:
- lib/rails_charts/custom_chart.rb
Constant Summary
Constants inherited from BaseChart
Instance Attribute Summary
Attributes inherited from BaseChart
#chart_id, #container_id, #data, #debug, #defaults, #height, #klass, #locale, #options, #other_options, #renderer, #style, #theme, #vertical, #width
Instance Method Summary collapse
- #build_options ⇒ Object
-
#initialize(data, options = {}) ⇒ CustomChart
constructor
A new instance of CustomChart.
Methods inherited from BaseChart
#axises, #js_code, #option, #x_axis, #y_axis
Constructor Details
#initialize(data, options = {}) ⇒ CustomChart
Returns a new instance of CustomChart.
4 5 6 7 |
# File 'lib/rails_charts/custom_chart.rb', line 4 def initialize(data, = {}) super([], ) @options = end |
Instance Method Details
#build_options ⇒ Object
9 10 11 |
# File 'lib/rails_charts/custom_chart.rb', line 9 def end |