Animation starting from zero?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Keith
Newbie
Newbie
Posts: 17
Joined: Tue Mar 09, 2004 5:00 am
Location: South Africa
Contact:

Animation starting from zero?

Post by Keith » Sun Jun 17, 2007 1:12 pm

Support,

I'm using TeeChart 7 with an area or line chart with the animation tool and it works wonderfully, except how do I get it not to display the initial data? i.e. I want the chart to initially display with all values at zero and then to start the animation to their current values...

The demo included starts with the current values and then the animation starts back from zero to their final position- this is not suitable for my requirement- I don't want the user to see the initial values at all.

Regards,
Keith

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jun 18, 2007 7:33 am

Hi Keith,

You could try making the series not active and just activate them when the tool is executed:

Code: Select all

procedure TForm1.Button1Click(Sender: TObject);
begin
  Series1.Active:=true;
  ChartTool1.Execute;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.Active:=false;
end;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Keith
Newbie
Newbie
Posts: 17
Joined: Tue Mar 09, 2004 5:00 am
Location: South Africa
Contact:

Post by Keith » Mon Jun 18, 2007 7:02 pm

Hi Narcis,

Thank you.

Regards,
Keith

Post Reply