react-chartjs-2 icon indicating copy to clipboard operation
react-chartjs-2 copied to clipboard

Unable to implement click functionality

Open ravidsp opened this issue 5 years ago • 1 comments

https://jsfiddle.net/ha19ozqy/

how can the functionality be implemented in this package?

ravidsp avatar Jul 18 '19 09:07 ravidsp

@ravidsp do you simply want to attach a click handler to the chart component itself? Or do you need to attach click handler to specific elements within the chart?

Please take a look at this section of the documentation on how to handle click events: https://github.com/jerairrest/react-chartjs-2#events

Pringels avatar Dec 03 '19 13:12 Pringels