Closed ahmadalyan closed 8 years ago
What is function getSegmentsAtEvent? u want get which segment u clicked on? If yea mouse events / functions have parameter other which gives information about part of graph clicked on
where I could find more info about mouse events
try check this page https://github.com/FVANCOP/ChartNew.js/wiki/100_095_Mouse_Actions If u need some more detailed info i think u can write mail to and @FVANCOP so we wont spam here too much
thanks a lot :)
Hi Dear
I am trying to add click function on my Chart but I missed getSegmentsAtEvent function which is available in Chart.js
is there any other solution where I could attached click function to my Doughnut chart