Sang
Posts: 10
Joined: Wed Jul 14, 2021 4:09 am

Is there a way to redraw the chart?

Hi.

It is currently making a real-time chart.

It is importing data for two minutes at intervals of one second.

I want to bring data for 5 minutes every 1 second.

Is there a way to redraw the chart?

And if I draw the chart again, will the arrow that I drew myself disappear?
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Is there a way to redraw the chart?

Hello Sang,

To redraw the chart you can simply use redraw() method (https://api.highcharts.com/class-refere ... art#redraw). You might also want to check update() method (https://api.highcharts.com/class-refere ... art#update).

When it comes to the arrow, it depends how is it drawn. For example, if that arrow is drawn with SVGrenderer, then it shouldn't disappear.

Let me know if you have any further questions!
Best regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Stock”