Home › forums › Chart Support › Mobile chart – static vertical line on touch
I am using this library for a mobile chart. I need to draw a vertical line at the point the user touches/ interacts. This line is nonremovable until a new data point is touched, so the drawn line will be updated to the new data point. Is there a way to do this?
You can use crosshair with snapToDataPoint set to true to achieve the above requirement. In touch devices crosshair will be shown only on touch which would get updated based on the new touch position.
You must be logged in to reply to this topic.