Home forums Using CanvasJS Draw a line to mark a perticular datapoint

This topic contains 2 replies, has 2 voices, and was last updated by  echhabra 4 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11515

    echhabra
    Member

    Hi All,

    So my program takes a date from the user and then plots the date in the x-axis and the other value which it takes from the user in the y-axis. The rest of the points are dynamically created using an algorithm around that date.

    Is there any way to draw a strait red solid line which passes through only 1 datapoint which has the date given by the user and the x-axis.

    Thanks in advance,
    Elina

    #11518

    Sanjoy
    Moderator

    Are you looking for stripLines with value as user given x value. If you are looking for something else, any image depicting your requirement will help us to understand better.

    #11520

    echhabra
    Member

    Yes This is exactly what I was looking for.

    Thanks a lot once again Sanjoy!

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

You must be logged in to reply to this topic.