react-chartjs-2
react-chartjs-2 copied to clipboard
Unable to implement click functionality
https://jsfiddle.net/ha19ozqy/
how can the functionality be implemented in this package?
@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