chanr1th
Posts: 5
Joined: Wed May 04, 2022 4:02 am

The linked series is not redraw after data update

I am trying to do a dynamic change stock chart but when I change the main series data, the linked series (overlays) is not updating.
Live Demo:
https://jsfiddle.net/chanr1th/2xes7czh/14/
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: The linked series is not redraw after data update

Hi chanr1th,

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

You have to update linked overlays series in order to recalculate data based on new main series values.
Demo: https://jsfiddle.net/BlackLabel/qpjLs4wa/

Let me know if it was what you were looking for.
Regards!
Mateusz Bernacik
Highcharts Developer
chanr1th
Posts: 5
Joined: Wed May 04, 2022 4:02 am

Re: The linked series is not redraw after data update

Hi mateusz.b,

It is working great.

Thank you very much. :)
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: The linked series is not redraw after data update

That's great to hear! In case of any further questions, feel free to contact us again.

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Usage”