Hi, I am probably being really stupid but for the life of me I cannot get the charts to animate when they are rendered.
I am using 13.1 WPF XamDataChart and either using the Column series or doughnut series and want the charts to animate when the data is loaded.
This was possible in the older versions but the only reference I can find regarding animations is the motion framework stuff.
So, does anyone have a sample application or snippet that shows how to enable animations of charts when loaded.
thanks
Dan
Hello Dan,
Thank you for your post. I have been looking into it and I can say that one way of achieving the functionality you want is using Motion framework as you said. Here you can find more information:
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_Chart_Motion_Framework.html
Also I can suggest you see this forum thread:
http://es.infragistics.com/community/forums/t/64711.aspx
where Krasimir attached a sample, where an animation is used.
Hope this helps you.
Hi Stefan,
Thank you for your reply. Sorry it has taken a while to reply to your post.
I have looked into the links provided but am left a bit confused. Why was the animation functionality that was present in the versions below not present in the 13.1 release? It was really easy to create nice and animated dashboards and charts with the older versions with only a few lines of xaml. Now there is quite a bit of work just to get a few lines to animate in or a few chart segments to move into place. I dont understand why this was removed.
If you could enlighten me that would be great.
Kind regards
The other features for the XamDataChart are:
- Titles and subtitles
- Axes Titles
- Series Highlighting
- Axis Tick marks
- Drop Shadow effect
Ok excellent answer. I will continue with the suggested route for 13.1 as I have things running as I would like. That said, the planned release is very welcomed. Any heads up on any other enhancements / new additions? I have been looking for a roadmap or feature board but not seem one.
I can say that the old XamChart and the XamDataChart are designed and built in different ways and the implementation of animations is different for both the charts. Also I can say that in our upcoming version 13.2 there will be a built in feature for loading animation of the following series:
•Category Series
•Range Category Series
•Financial Price Series
•Financial Indicators
so I can suggest you either use the approaches I suggested you with 13.1 or get our new version, which is planned to be available on 20th of November.