Home forums Using CanvasJS How to fetch x and y values from canvas chart Reply To: How to fetch x and y values from canvas chart

#10129

Sanjoy
Moderator

Are you looking for mouseover event, where you can get the currently hover dataPoint’s x and y values like e.dataPoint.x and e.dataPoint.y. Or else you can look into toolTip contentFormatter.

If this doesn’t suite your requirements, could you please provide us a pictorial representation to understand better.