-
Notifications
You must be signed in to change notification settings - Fork 20
Multiple Charts using PlotList
Prakriti Gupta edited this page Jul 21, 2018
·
1 revision
This feature allows a user to draw the charts and tables (using Googlecharts, HighCharts and Nyaplot) side by side. This means multiple charts in a single cell in IRuby notebook and in a single row in web frameworks. This facilitates a user to simultaneously compare its visualization with different chart types and adapters. Implementation and use in daru-view:
- To create the Charts side by side, a user needs to create a
PlotList
object and pass the Array of Daru::View::Plot or Daru::View::Table objects in it as the data. - Call
show_in_iruby
/div
method in IRuby notebook and web frameworks respectively and multiple charts will appear.
Let's look at an example that I implemented in daru-view:
Check out some more examples in this notebook