Class: Highcharts::Axis::Y

Inherits:
Base
  • Object
show all
Defined in:
lib/highcharts/axis/y.rb

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 = {}) ⇒ Y

Returns a new instance of Y.



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

def initialize(opts = {})
  @default = :title
  @suboptions = {
    events: 'Axis::Events',
    labels: 'Labels',
    plotBands: 'Axis::PlotBands',
    plotLines: 'Axis::PlotLines',
    stackLabels: 'Axis::StackLabels',
    title: 'Title'
  }
  super
end