Skip to content
Shekhar Prasad Rajak edited this page Jan 15, 2018 · 37 revisions

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 actual 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 in daru-view, i.e. adding more methods in daru/view/adapter/googlechart and use the features from the google chart js directly. (need to see new features that can be used in daru-view)

  • 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)

  • 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

Clone this wiki locally