Prakriti Gupta
Prakriti Gupta
Yes, that will help but I need to load the CSS files from code. I am working on daru-view for which I have to load the dependent CSS file in...
Rails examples: Importing data from google spreadsheet in google charts - [#2](https://github.com/Shekharrajak/demo_daru-view/pull/2) HighCharts, HighStock, HighMaps examples - [#3](https://github.com/Shekharrajak/demo_daru-view/pull/3) Custom CSS in highcharts example - [#4](https://github.com/Shekharrajak/demo_daru-view/pull/4) ChartWrapper examples - [#6](https://github.com/Shekharrajak/demo_daru-view/pull/6) Multiple...
@snpd25 Check these [examples](https://developers.google.com/chart/interactive/docs/reference#arrowformat) of Arrow formatter and bar formatter from Google Charts. Also run these rails [examples](https://github.com/Shekharrajak/demo_daru-view/blob/master/demo_rails/app/controllers/formatters_controller.rb) to know how the bar formatter is working in rails.
Have a look at the [to_html](https://github.com/SciRuby/daru-view/blob/master/lib/daru/view/adapters/googlecharts/display.rb#L150) method which generates the HTML code for the chart.