Class: Charty::RenderContext
- Inherits:
-
Object
- Object
- Charty::RenderContext
- Defined in:
- lib/charty/backends/plotlyjs.rb
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
3 4 5 |
# File 'lib/charty/backends/plotlyjs.rb', line 3 def data @plotter_adapter.data(self)[0] end |
#to_json ⇒ Object
7 8 9 |
# File 'lib/charty/backends/plotlyjs.rb', line 7 def to_json @plotter_adapter.to_json(self) end |