+ Reply to Thread
Results 1 to 9 of 9

Animated Excel chart.....

  1. #1
    Forum Contributor
    Join Date
    10-05-2005
    Posts
    112

    Question Animated Excel chart.....

    Hi,

    I am hoping to produce an excel chart which animates over time - the data is simple x,y coodrinates and there are only 8 columns of data along with 1 column of time data - looks like the example below.

    I have no idea where to start with this but I suspect it will involve VBA? - anyone done this before or have some tips to get me going :-)

    Cheers,.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Animated Excel chart.....

    Hello,

    what exactly do you mean with "animated"? Can you upload your worksheet with the non-animated chart and explain in context what you would like to achieve?

    cheers,

  3. #3
    Forum Contributor
    Join Date
    10-05-2005
    Posts
    112

    Re: Animated Excel chart.....

    Hi,

    I have attached an example spreadsheet - the current plot is the first row and I would like to plot the next row down after a time delay followed by the next row..... etc So the final result would be the plot line being animated as time moves forward.... I am aiming to show the time value in a window within the animation so you can see how fast time is passing.

    Hope that makes sense?

    Cheers,
    Attached Files Attached Files

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,816

    Re: Animated Excel chart.....

    This requires VBA, attached is one possible solution.
    Attached Files Attached Files
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Forum Contributor
    Join Date
    10-05-2005
    Posts
    112

    Re: Animated Excel chart.....

    Thanks 6stringjazzer,

    Very cool, I must learn what the VBA means so I can customise more :-) where is the best place to learn VBA? (book or videos).

    Is it possible to achieve any of the following....?
    • Print the time in a window within the graph area (digital or even analog).
      Output each frame as jpg to file so a video can be assembled.
      Have a background image in the graph area (gives context to the data)

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,816

    Re: Animated Excel chart.....

    where is the best place to learn VBA? (book or videos).
    There is no one best place, but I learned it from a book by John Walkenbach. I highly recommend his work. There is also more material online than you will ever be able to read.
    Print the time in a window within the graph area (digital or even analog).
    Go to Excel Help and search on "Dynamically display the contents of a cell or range in a graphic object"
    Output each frame as jpg to file so a video can be assembled.
    Sorry, you're on your own on that one
    Have a background image in the graph area (gives context to the data)
    Click on the background right click, select Format Chart Area. On Fill, select Picture or Texture Fill, and then select the image to use as background.

    See attached for examples of the two that I know how to do.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-05-2005
    Posts
    112

    Re: Animated Excel chart.....

    Thanks again, I can see how this could all work now :-)

    One last question - how would I change the speed slider so that the time interval was in 1/10th of seconds? so perhaps 0.1 seconds to 2 seconds in 0.1 steps?

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,816

    Re: Animated Excel chart.....

    Had to change a few things around to do that.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    10-05-2005
    Posts
    112

    Re: Animated Excel chart.....

    Thanks for your help 6StringJazzer - very much appreciated - it has got me going nicely - cheers.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1