Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

drawing custom lines on highchart graph

I have recently been working with the highchart api to plot some data on a website, and I have need to be able to add a custom vertical "line" to symbolise something happening for example a press release.

I have thought about adding a column element to the chart as a seperate series but this is less than ideal.

if anyone has any ideas that would be awesome

thanks

like image 909
Vade Avatar asked Oct 11 '11 14:10

Vade


1 Answers

Can you use the the renderer to draw the line?

Here is the API doc for renderer. Look at the path function.

Also check the Try it for jsfiddle for path function.

like image 112
Bhesh Gurung Avatar answered Oct 21 '22 05:10

Bhesh Gurung