Home forums Using CanvasJS Draw a line over canvas chart Reply To: Draw a line over canvas chart

#22790

Vishwas R
Keymaster

@prem123,

You can attach mouse events to chart-container and draw line on top of chart-canvas based on mouse events. Please take a look at this JSFiddle where line will be drawn from the coordinates of mousedown and mouseup events.


Vishwas R
Team CanvasJS