doggodking
Posts: 2
Joined: Tue Jan 11, 2022 7:29 am

[iOS] How to replay chart animation

Translated by Google Translate.
It can be unnatural :(

Hi. I'm an iOS developer, and I'm new to high charts.

There is a way to initialize the charview and use the 'addSubview()' function to play the start animation, but it's too slow to load.
I simply want to play the same thing as the starting animation again.
Is it possible to replay only the animation while maintaining the chart view without destroying it?
The sample code or examples seem to provide only JS.

Isn't there a way to just call the library api?

thanks.
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: [iOS] How to replay chart animation

Hi doggodking,

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

I have passed your question to our iOS developer. I will get back to you with an answer asap. Thanks for your patience.

Regards!
Mateusz Bernacik
Highcharts Developer
doggodking
Posts: 2
Joined: Tue Jan 11, 2022 7:29 am

Re: [iOS] How to replay chart animation

Thanks for the reply mateusz.b. We are waiting for your further reply.
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: [iOS] How to replay chart animation

Hi doggodking,

Could you try to use chartView.options = options to trigger animation? This is normally used to initialize a chart, but could be used as well to reload it and in effect trigger animation.

Let me know if it works.
Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Usage”