How do I add a button inside a chart.js graph? I want to create a pie chart with drill down. The drill down effect is actually pretty easy with a chart onClick function. But I want to add a button to go to the top level to the canvas. I do not want to place it outside the canvas I found a similar example of a different chart library.
Asked
Active
Viewed 2,015 times
2
-
Hi, have you tried annotations plugging and then add click events to annotations with chart js ? – Peck_conyon Sep 29 '20 at 01:33