Animation when updating the model

41 views
Skip to first unread message

Liran Brimer

unread,
Dec 24, 2015, 1:50:58 AM12/24/15
to highcharts-ng
Hello,

When i first set the series data (async way), the chart which is binded to it updates itself accordingly.
the problem is that the animation is not the same animation as if i would just hard-coded the series values.

i tried adding an 'animation' property, but it only controls the hard-coded values, and not applies to data added dynamically via angular binding on the series property.

please advice,
Thanks

Liran

unread,
Dec 24, 2015, 1:59:17 AM12/24/15
to highcharts-ng
Note that i define the series first without their 'data' property, and when the data becomes available i just set the 'data' property of the series.

I found out that if i add the entire 'series', then it works. but it is not desired.. i wish just to set the 'data' property.
Reply all
Reply to author
Forward
0 new messages