Page 1 of 1

Loading graph with transition

Posted: Tue Apr 24, 2012 7:53 am
by 9341927
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

Re: Loading graph with transition

Posted: Tue Apr 24, 2012 12:12 pm
by 16557348
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