-
Notifications
You must be signed in to change notification settings - Fork 20
Ideas
Read about daru-view here , before reading this.
One of the good feature daru-view
provide is, we can use all the function/methods, that plotting tool already have; by accessing
chart/table class using #chart
or #table
. But we are using google_visualr
, lazy_highcharts
gem to actually access the
features present in Google charts JS, HighCharts.
-
Since google charts have more features now and developers are keep updating it. It is important for us to extend
google_visualr
gems code indaru-view
, i.e. adding more methods indaru/view/adapter/googlechart
and use the features from the google chart js directly. (I am searching new features that can be used in daru-view) -
DataView, ChartWrapper class, ChartEditor class; need to be implemented in daru/view/adapter/googlecharts.
-
Similarly Highcharts js are updated in official site and more features are added. So we must keep updating our daru-view gem adapter/highcharts; i.e. extend the lazy_high_charts code in daru-view. (need to see new features that can be used in daru-view)
-
Currently
daru-view
is just using Highcharts JS but we can use more features using HighMap and HighStock. Implementation of these features in daru/view/adapter/highcharts will be very useful. Also it will be usable offline. (Since in daru-view Highcharts adapter can be used fully offline)
-
Google chart JS and highcharts js must be updated whenever user want. These dependent js files are updated in the official links. Refer : https://github.com/SciRuby/daru-view/issues/47
-
To make
daru-view
workable offline, it is loading the JS files in iruby notebook and web application. But when yousee the html source code, you see bunch of lines at the page because of js. We must have something like this
//= require daru-view/highcharts/highcharts
//= require daru-view/highcharts/highcharts-more
//= require daru-view/highcharts/highstock
//= require daru-view/googlecharts
to load js files. Refer : https://github.com/SciRuby/daru-view/issues/24#issuecomment-319287696
Note:
Contributor may need to understand the codebase of nyaplot
, googlevisualr
, lazy_highcharts
, daru-data_tables
to extend the feature. May be in near future we will remove these dependent gem(by adding all our required code into daru-view only) and use only daru-view code.
I am not expecting changes in dependent gems, since our requirement is to make it usable with daru
gem and in iruby notebook as well as ruby web applications.