Home forums Using CanvasJS Having an onClick event on the entire chart Reply To: Having an onClick event on the entire chart

#23174

Vishwas R
Keymaster

@daringdan,

If the length of video (in seconds / milliseconds) matches with the range of axisX (in seconds / milliseconds), you can seek video based on clicked position – with the help of convertPixelToValue method. Please take a look at this JSFiddle.


Vishwas R
Team CanvasJS