How can I change load animation type?

Hi,
I've notice that the loading animation of the chart it's sometimes of the type 1 and sometimes of the type 2 (look the attached file to better understand), but I didn't understand according to which criteria one or other is shown. I would like to load the chart always with the animation of type 2. Is it possible to do that?

Thank you in advance,
Paolo.

Attachment: Animation_types_ec46dc0f.zip

1 Reply

SK Sriram Kiran Senthilkumar Syncfusion Team June 6, 2020 06:45 AM UTC

Hi Paolo, 

Greetings from Syncfusion. We have analyzed your scenario and first, we want to clarify the information on the animation behaviour of our chart widget in detail.  
The Type 1 animation which you have mentioned is called as dynamic animation of the chart. This animation occurs when the data points of the chart is either updated or added dynamically. 
The Type 2 animation which you have mentioned is called as initial rendering animation of the chart. This animation occurs when a chart widget is initially loaded in the widget tree. 
As per your query, you are in need of only using the type 2 animation(Initial render animation) to load the chart and this scenario can be achieved by disposing the chart widget from the widget tree and re-rendering it every time after updating or adding the data points to the chart dynamically. Kindly please revert us if you have further concerns. 

Thanks, 
Sriram Kiran.  


Loader.
Up arrow icon