Page 1 of 1

Animation starting from zero?

Posted: Sun Jun 17, 2007 1:12 pm
by 9231208
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

Posted: Mon Jun 18, 2007 7:33 am
by narcis
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;

Posted: Mon Jun 18, 2007 7:02 pm
by 9231208
Hi Narcis,

Thank you.

Regards,
Keith