maxmar123
Posts: 18
Joined: Fri Oct 28, 2022 7:35 am

xAxis is not updated live while moving/expanding/colapsing Navigator

Hello!

While working with this demo https://jsfiddle.net/BlackLabel/5gz3vsax/ I noticed the xAxis is updated live while moving, expanding or colapsing the Navigator.
On my chart when I drag the Navigator the xAxis is only updated when I'm finished dragging.

I have a dynamic data source (postgres) which feeds the data via props into the chart (using the offical react wrapper) - could this be the reason why it's not working?
Is there an option where I can activate the desired behavior?

Thank you
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: xAxis is not updated live while moving/expanding/colapsing Navigator

Hi there,

I think you are looking for the scrollbar.liveRedraw property. Set it to false, and the issue should be gone.
Demo: https://jsfiddle.net/BlackLabel/xLzs65cb/
API Reference: https://api.highcharts.com/highstock/sc ... liveRedraw

Do not hesitate to contact us again,
Regards!
Kamil Musiałowski
Highcharts Developer
maxmar123
Posts: 18
Joined: Fri Oct 28, 2022 7:35 am

Re: xAxis is not updated live while moving/expanding/colapsing Navigator

kamil.m wrote: Mon Oct 31, 2022 7:08 am Hi there,

I think you are looking for the scrollbar.liveRedraw property. Set it to false, and the issue should be gone.
Demo: https://jsfiddle.net/BlackLabel/xLzs65cb/
API Reference: https://api.highcharts.com/highstock/sc ... liveRedraw

Do not hesitate to contact us again,
Regards!
Thank you, that was it!
My scrollbar was set to disabled.
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: xAxis is not updated live while moving/expanding/colapsing Navigator

I'm glad that I could help you!

Let me know once you'll need anything else,
Best regards!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Stock”