How to use click event on selected row in chart

Hi Team,

How to use click event to get the selected row data in chart of the script report.
also if we select multiple rows so multiple graph data needs to show in chart
Any suggestions will be helpful.

Regards,
Shivansh