Home forums Using CanvasJS Tooltip in overlapping charts Reply To: Tooltip in overlapping charts

#20052

I don’t want to show all the y values at a particular x value.

https://jsfiddle.net/QwZuf/1064/
In this fiddle, at point x=50, the tooltip shows all the 3 y values.

Is there any way I can know in the tooltip’s contentFormatter function which point the mouse is on. The shared=true option gives a list of all the Y values and not the Y-values where the mouse currently is.

Hope what I am asking is clear. If you need more clarification then please do let me know.