How to show label when mouse over bar
问题 I made a Bar chart by chartist.js. Now I want to add some listening event on the bars. How can I do to let label show up when mouse over the bar? 回答1: You have 2 options - Option 1 There is a tooltip plugin that you could use. You can find it here - https://github.com/Globegitter/chartist-plugin-tooltip Once you add the CSS and JS files, you should be able to call the plugin like this - Chartist.plugins.tooltip() Here is an example from their Plugins page - var chart = new Chartist.Line('.ct