score:1

Accepted answer

You don't need to remove the custom arrows, it is enough if you update their positions. For example:

if (series.customArrow) {
  series.customArrow.attr({
    d: path
  })
} else {
  series.customArrow = series.chart.renderer.path(path)
    .attr({
      fill: series.color
    })
    .add(series.group);
}

Live demo: https://jsfiddle.net/BlackLabel/wv41sqro/

API Reference: https://api.highcharts.com/class-reference/Highcharts.SVGElement


Related Articles