Home forums Using CanvasJS Draw an arrow on a graph Reply To: Draw an arrow on a graph


Bivek Singh


You can get the context of canvas using chart.ctx as shown in this example. However, re-rendering the chart will clear user drawn shapes. So, it would be better to just overlay another transparent canvas on top of chart and draw on it instead.

Bivek Singh,
Team CanvasJS