You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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?
Activity
pringelmann commentedon Dec 3, 2019
@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
dangreen commentedon Nov 30, 2026
Closing: this is a usage question rather than a bug report or a feature request. The docs of the wrapper are at https://react-chartjs-2.js.org and the chart options are described in the Chart.js docs: https://www.chartjs.org/docs/latest/