0
votes

I am facing an issue using Highchart and it's update function. When I update a chart with new modified options, sometime those modifications are not applied.

See https://stackblitz.com/edit/highcharts-update-issue?embed=1&file=index.js

The datalabels are set to allowOverlap: false when creating the chart, and then I update the chart with allowOverlap: true. Yet the data labels are still using allowOverlap: false (can be seen on the second point)

I came across several issue for other highcarts options as well.

Any idea ?

Thanks !

1

1 Answers

0
votes

Thank you for reporting it.

It seems like a regression. I reported it on Highcharts Github issue channel where you can follow this thread: https://github.com/highcharts/highcharts/issues/13449

As a temporary workaround try to update series.dataLabels options instead - demo: https://jsfiddle.net/BlackLabel/vshj95to/

chart.series[0].update({
    dataLabels: {
    allowOverlap: true
  }
})