Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Any support drill-down charts?

Open webdevguyrg opened this issue 10 years ago • 5 comments

Are there any support in chartjs for drilling down (data zooming) into charts. For example, if you have a bar chart you can double click on the first bar and it would replace the current chart with one with the next level of data, etc...? Thanks!

webdevguyrg avatar Aug 08 '16 20:08 webdevguyrg

@cirenep you're probably going to need to implement that yourself. You probably won't have to recreate the chart because you can simply swap out the data object with a new one

etimberg avatar Aug 08 '16 21:08 etimberg

This question seems to be relevant to the issue: http://stackoverflow.com/questions/33675468/chartjs-drill-down-issue-with-multiple-y-axis-bar-line-graph

micheledallatorre avatar Sep 13 '16 10:09 micheledallatorre

Closing since I think the above solution is the recommended way to do this

etimberg avatar Sep 17 '16 02:09 etimberg

There's a plugin for this as well: https://github.com/datavisyn/chartjs-scale-hierarchical

benmccann avatar Jan 04 '20 17:01 benmccann

Oh, actually it looks like it moved: https://github.com/sgratzl/chartjs-plugin-hierarchical

benmccann avatar Jan 04 '20 17:01 benmccann