Class: Highcharts::PlotOptions

Inherits:
Base
  • Object
show all
Defined in:
lib/highcharts/plot_options.rb,
lib/highcharts/plot_options/plot_type.rb,
lib/highcharts/plot_options/plot_type/events.rb,
lib/highcharts/plot_options/plot_type/marker.rb,
lib/highcharts/plot_options/plot_type/states.rb,
lib/highcharts/plot_options/plot_type/states/hover.rb,
lib/highcharts/plot_options/plot_type/marker/states.rb

Defined Under Namespace

Classes: PlotType

Instance Attribute Summary

Attributes inherited from Base

#default, #options, #skip_quotation, #suboptions

Instance Method Summary collapse

Methods inherited from Base

#inspect, #to_json

Constructor Details

#initialize(opts = {}) ⇒ PlotOptions

Returns a new instance of PlotOptions.



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/highcharts/plot_options.rb', line 4

def initialize(opts = {})
  @suboptions = {
    area: 'PlotOptions::PlotType',
    arearange: 'PlotOptions::PlotType',
    areaspline: 'PlotOptions::PlotType',
    areasplinerange: 'PlotOptions::PlotType',
    bar: 'PlotOptions::PlotType',
    column: 'PlotOptions::PlotType',
    columnrange: 'PlotOptions::PlotType',
    gauge: 'PlotOptions::PlotType',
    line: 'PlotOptions::PlotType',
    pie: 'PlotOptions::PlotType',
    series: 'PlotOptions::PlotType',
    scatter: 'PlotOptions::PlotType',
    spline: 'PlotOptions::PlotType'
  }
  super
end