Rails

How to pass options directly to the charting library in Chartkick

Chartick is a great gem which gluing popular JavaScript charting libraries (Chart.js, Google Charts and Highcharts) with Ruby (and other languages) templates. But, because Chartick is abstraction with its options, it is not really clear how to configure the underlying JavaScript library which for the first time cost me some extra time of debugging and digging its source code. Read more…