Home forums Using CanvasJS set the multiple horizontal line by user input Reply To: set the multiple horizontal line by user input

#21368

Priyanka M S
Member

Mohamed,

Crosshair is used to show the x & y axis values at the current mouse co-ordinates or the nearest data points. It is not possible to drag and drop Crosshair. However, you can achieve drag and drop functionality with striplines. Please take a look at this jsfiddle.

You can accept input value from user and place a stripline at specified position. Please take a look at this jsfiddle.

__
Priyanka M S
Team CanvasJS