Loading graph with transition

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Matt Venkat
Newbie
Newbie
Posts: 16
Joined: Wed May 18, 2005 4:00 am
Location: Sydney, Australia
Contact:

Loading graph with transition

Post by Matt Venkat » Tue Apr 24, 2012 7:53 am

Hi,

Is there anyway to achieve the following scenario.

I have Graph A and Graph B to display. Both Graphs have large data points and it takes a few seconds to load and plot the graph.

When i changing the graph A to B or B to A, The current graph is still showing till the new graph is loaded.

My point of view, It is not good in display.So, my idea is to cover it up with loading images or something else.

Image

What is the better way to handle loading graph transition.

Thanks in advance

Track1
Newbie
Newbie
Posts: 18
Joined: Thu Sep 30, 2010 12:00 am

Re: Loading graph with transition

Post by Track1 » Tue Apr 24, 2012 12:12 pm

What if you do

Series.Clear
Series.Repaint (or Series.Refresh)

before you load the Graph B

You can also create a label "Loading" and set its visible property to true (and probably call Label.Refresh) before the GraphB load, then afterwards set its visible property to False

Post Reply