Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1060
Animated Line Series using Motion Framework
posted

Hello,

We have utilized the Motion Framework in our Scatter Chart series and it is really powerful feature in Infragistics controls suite. However I am wondering that can we also apply the same affect on LINE SERIES? I noticed on the below chart, they are highlighting the lines series in this sample. But I need the transition affect in the line series from previous datapoint value to new value.

Thanks,

M. Irfan

Parents
  • 30692
    Suggested Answer
    Offline posted

    Yes, 

    You can set a transition duration on line series in the same way that you would to scatter series. The one thing to be careful of is that an animation will not start if your value change results in the auto ranges of the y axis changing. So you should either use a fixed range of the y axis, or make sure that changes that you want animated don't result in the y axis range changing.

    This is done because the axis visual does not currently support animation, so looks odd if the range changes immediately while the series visual is still animating.

    A good strategy for if you want animated changes for a line series, is to manage the y axis range yourself, and only change it in larger chunks. This way most changes are animated until a threshold is hit where the axis range needs to be modified. And then that one change is not animated.

    Hope this helps,

    -Graham

Reply Children