Home forums Chart Support Mobile chart – static vertical line on touch

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #31584

    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.

    Indranil Deo
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.