Method: Vega::BaseChart#initialize
- Defined in:
- lib/vega/base_chart.rb
#initialize ⇒ BaseChart
Returns a new instance of BaseChart.
5 6 7 8 9 10 11 12 13 |
# File 'lib/vega/base_chart.rb', line 5 def initialize @spec = { "$schema": @schema, width: "container", height: "container" # maybe add later # config: {mark: {tooltip: true}} } end |