You must be logged in to post your query.
Home › Forums › Chart Support › CrossHair Line not show on mobile when move the line
CrossHair Line not show on mobile when move the line
@aksangwan,
It is an intended behavior that the crosshair disappears on drag as it might create confusion when zoom/pan is enabled in the chart. But we will reconsider this behavior in the future versions.
— Suyash Singh Team CanvasJS
What if we are not using zoom/pan options? Can we trigger an event to make that crosshair appear all the time?
Sorry, it is not possible as of now. But we will re-consider this behavior for the future versions. ___ Suyash Singh Team CanvasJS
How can I achieve this feature? We only show this chart on a mobile device and there is a requirement for crosshair on touch
@divyanshingle,
It is an intended behavior on mobile devices so that the crosshair disappears on drag as it might create confusion whether the user is trying to zoom/pan or show crosshair.
___________ Indranil Deo Team CanvasJS
Yes that i can understand but if i want to do that then do you have any solution for that?
In case of mobile devices, crosshair will be shown when you touch or leave the chart. But when touched and dragged the crosshair would disappear so as to avoid confusion with zooming/panning.
Hence, on drag, it is not possible to show crosshair as of now.
You must be logged in to reply to this topic. Login/Register