Add annotations with Chartkick
问题 I want to add annotations to my time series chart. From Google's documentation: data.addColumn({type:'string', role:'annotation'}); How can I pass these column properties through Chartkick? <%= line_chart [{name: 'annotations', data: annotations_array},{name: 'numbers as a time series', data: 'numeric_array'}] %> 回答1: I created a pull request to the chartkick.js repo to add the functionality you're describing. https://github.com/ankane/chartkick.js/pull/58 This is just for the JS library