@trieucrew,
Please take a look at this documentation page on click event for dataPoint which gets triggered when you click on any dataPoint. You can also refer this documentation page, for the same on the legend.
If this doesn’t fulfill your requirements, kindly let us know to which chart element you are trying to bind the event, so that we can guide you accordingly.
—
Shashi Ranjan
Team CanvasJS