Home forums Using CanvasJS click event for any cursor position Reply To: click event for any cursor position

#5703

Sunil Urs
Keymaster

This will not be possible directly via the existing API. But if you are ok editing CanvasJS code, Axis has a function getXValueAt(x) which can convert given pixel value to X value on axisX. You can make it public by writing few lines of code inside CanvasJS object which is present at the end of file.

Hope this helps