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

Mobile chart – static vertical line on touch

Viewing 2 posts - 1 through 2 (of 2 total)
  • #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?

    #31590

    @thisuriu,

    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.