alingat
Posts: 4
Joined: Thu Dec 16, 2021 8:43 pm

Highcharts dynamic angle arrow

Hi I'm trying to add an angle arrow on my chart from point A(circle) - B(diamond), what is the best way to do this dynamically even if the points go from B(diamond) - A(circle) the arrow should still render properly.
sample.PNG
sample.PNG (43.33 KiB) Viewed 1031 times
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Highcharts dynamic angle arrow

Hello,

Welcome to our forum and thanks for contacting us with your question!

You can use Highcharts SVG Renderer to dynamically draw this arrow.

Demo: https://jsfiddle.net/BlackLabel/2s1pk0nt/
API: https://api.highcharts.com/class-refere ... VGRenderer

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Maps”