Class: Highcharts::Legend

Inherits:
Base
  • Object
show all
Defined in:
lib/highcharts/legend.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 = {}) ⇒ Legend

Returns a new instance of Legend.



4
5
6
7
8
9
10
11
# File 'lib/highcharts/legend.rb', line 4

def initialize(opts = {})
  @default = :enabled
  @skip_quotation = :labelFormatter
  @suboptions = {
    navigation: 'Base'
  }
  super
end