WPF Animating Bar Chart


So I found this really cool article by the famous Charles Petzold showing how to Animate a Point Collection and it occurred to me that if you can animate a point collection then you can animate a bar chart which is exactly what I was wanting to do for my Money.Net application.

Click the thumbnail above to see a little video demo of the result. I published the code on github.

I’m pretty happy with the result, the animation is nice and smooth when animating 20 separate bars and their labels. I love how the PointCollectionAnimation handles the rotation transition. The colors also fade from the previous to the next color when switching data series which adds a surprisingly nice touch.

Now if only I had a complete charting library built this way…