Serving the Quantitative Finance Community

 
User avatar
chicagotypewrite
Topic Author
Posts: 0
Joined: February 14th, 2006, 7:53 am

*Simple* animation using Excel

December 6th, 2006, 1:23 am

My boss wanted some animation of the Excel charts. We have an Excel chart which is a plot of the P/L of 10 companies at a point in time. What if you want to see how these ten companies do over a series of time? One way would be to animate the chart as it cycles through the months. I tried to change the values in the tables from which the chart reads off to effect animation, but the resultant animation is oftentimes jerky and unsmooth, unprofessional. Are there better ways to achieve smooth professional-looking animation in Excel? Thanks in advance!
 
User avatar
bluetrin
Posts: 2
Joined: September 9th, 2005, 6:41 am

*Simple* animation using Excel

December 6th, 2006, 7:27 am

See if it helpshttp://www.google.co.uk/search?q=excel+chart+a ... e=utf-8The first one is a link which shows how to produce a simili animation in powerpointTry this also:Source of problem for smooth animations in XL (reply from a MVP)
 
User avatar
ZmeiGorynych
Posts: 6
Joined: July 10th, 2005, 11:46 am

*Simple* animation using Excel

December 6th, 2006, 4:43 pm

Of course if your boss wants animation, you should give it to him. However, aren't there better ways to represent the data? What aspect of the data do you want to highlight? In a time-slice animation, it's easy to compare across companies for a given time, but virtually impossible to track what happens over time. What's wrong with an old-fashioned line plot, one line per company? If that's too many lines, split them into 2 groups. This way, all data is visible at once, not merely as the animation unfolds.
 
User avatar
chicagotypewrite
Topic Author
Posts: 0
Joined: February 14th, 2006, 7:53 am

*Simple* animation using Excel

December 7th, 2006, 12:40 am

Thanks Bluetrin! That was very useful. ZmeiGorynych, perhaps a bit of background is in order. You are right, there are many ways to do it, and people do not have to hit the Animate button all the time. Background:We would like to monitor 10 banks on a "management dashboard", i.e. the information should be sufficient to detect changes in trends, etc but not so detailed to clutter the dashboard. The idea is that if we detect something through this system, we could always drill down to greater detail when necessary.We have decided on a bubble chart (actually, my boss decided), where the X-Value, Y-Value and size of the bubble each represents a certain Early Warning Indicator. So try to picture a bubble chart, with ten pretty bubbles of all colors and sizes plotted on a 2-D chart.Can we squeeze more information out of this chart? This bubble chart displays the banks' positions relative to each other at a point in time. With animation, we could see how these bubbles (banks) move through time, as well as how they move relative to each other. I have written some code to handle the animation, by re-calculating the position of each bubble and updating Excel, but the animation is not professional enough and the screen flickers quite a bit, which may cause my boss to have epileptic seizure.
 
User avatar
asthomas
Posts: 0
Joined: June 9th, 2005, 1:54 pm

*Simple* animation using Excel

December 9th, 2006, 12:02 pm

We have had pretty good luck pushing data into Excel via DDE from Cascade DataHub. With a little scripting on the DataHub side, not in Excel, we were able to populate the entire Excel range with a single DDE item writing the entire range at once. Excel is much better at producing animated updates when it doesn't have to perform multiple recalculations, so the result is a smoother (though still not perfect) chart refresh. We have done real-time time series plots in Excel at 10Hz and it's livable.Perhaps this is stating the obvious, but the refresh quality in Excel seems to be somewhat dependent on your graphics card and monitor as well.
 
User avatar
mensa0
Posts: 0
Joined: January 20th, 2004, 8:56 am

*Simple* animation using Excel

January 14th, 2007, 1:57 pm

Write a VBA routine that first hides all the data for the chart, then in a loop, unhides the data one row (period) at a time. Use an Application.Wait Now + TimeValue("00:00:02") statement to adjust the speed of the plotting (here 2 seconds between each period.) The result is pretty smooth.Mike
 
User avatar
chocolatemoney
Posts: 0
Joined: October 8th, 2008, 6:50 am

*Simple* animation using Excel

March 2nd, 2009, 2:21 pm

Hello,Could anyone please post a simple VBA routine that animates a chart in Powerpoint?I am struggling implementing one myself and I need a good starting point.Many thanks.Cheers
Last edited by chocolatemoney on March 1st, 2009, 11:00 pm, edited 1 time in total.
 
User avatar
niketya
Posts: 0
Joined: May 30th, 2007, 11:32 am

*Simple* animation using Excel

March 3rd, 2009, 3:21 pm

Have look at the below link. It's a simple excel animation.http://www.processtrends.com/pg_charts_ ... mation.htm
 
User avatar
chocolatemoney
Posts: 0
Joined: October 8th, 2008, 6:50 am

*Simple* animation using Excel

March 4th, 2009, 3:38 pm

I'll have a look...I also don't know how to manipulate excel stuff from powerpoint....Mmm, I might give up: too much effort for something whose marketing power is something I really doubt of.Thanks for your help!Cheers