I'm trying to add an arrow to the end of my Highcharts line-chart. I've already looked through similar questions but the solutions don't seem to work:
The result i'm looking for (added in colors),
I'm trying to add an arrow to the end of my Highcharts line-chart. I've already looked through similar questions but the solutions don't seem to work:
The result i'm looking for (added in colors),
Linted /cleaned up version of jmfeland's answer with two series
http://jsfiddle.net/vyfsf1ft/18/
(UPDATE) plot graph XY
Grap Arrow Line XY
Great help for me!
One note, the code above only works if there is only one series on the graph. I made a few changes that lets it work with more than one series. The issue was that since each arrow had the same ID, it would wipe out the prior arrows for other series, thinking they were old arrows that needed to be redrawn. All I did was change the id to be a combo of 'arrow' and the series name, so it only wipes out the prior arrows for the specific series.
(UPDATE)
The previous solution is not quite responsive because it redraws the arrow on the chart every single time when the browser is resized.
However I found out how to make the chart with the arrow fully responsive:
Hope this helps. Cheers!
You should wrap the drawGraph method and add the code for arrow. It can be realised by path method.
Example: