Home › forums › Using CanvasJS › Draw a line to mark a perticular datapoint
Tagged: line through a datapoint
This topic contains 2 replies, has 2 voices, and was last updated by echhabra 2 years, 8 months ago.
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,
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.
Yes This is exactly what I was looking for.
Thanks a lot once again Sanjoy!
You must be logged in to reply to this topic.