Class: Highcharts::PlotOptions::PlotType

Inherits:
Base
  • Object
show all
Defined in:
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: Events, Marker, States

Instance Attribute Summary

Attributes inherited from Base

#default, #options, #skip_quotation, #suboptions

Instance Method Summary collapse

Methods inherited from Base

#check_quotation, #inspect, #to_json

Constructor Details

#initialize(opts = {}) ⇒ PlotType

Returns a new instance of PlotType.



5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/highcharts/plot_options/plot_type.rb', line 5

def initialize(opts = {})
  @suboptions = {
    :dataLabels => 'Labels',
    :dial => 'Base',
    :events => 'PlotOptions::PlotType::Events',
    :marker => 'PlotOptions::PlotType::Marker',
    :pivot => 'Base',
    :point => 'Point',
    :states => 'PlotOptions::PlotType::States'
  }
  super
end