Calculating Functions

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
STC
Newbie
Newbie
Posts: 23
Joined: Wed Mar 10, 2004 5:00 am

Calculating Functions

Post by STC » Tue Jan 17, 2006 1:42 pm

Hello

How do I get my function to calculate?

I have set up the data source with
objChart.Chart.Series[1].DataSource:=objChart.Chart.Series[0];

But series 1 has no points?

I cannot access the function to call recalculate because I dont know where to find it, all I know is that functions are held against a series.

I am doing all of this at runtime so I cant access anything visually

Cheers

Paul

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

Post by Narcís » Tue Jan 17, 2006 1:52 pm

Hi Paul,

You need to use series CheckDataSource method:

Code: Select all

objChart[0].CheckDataSource;
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

STC
Newbie
Newbie
Posts: 23
Joined: Wed Mar 10, 2004 5:00 am

Post by STC » Tue Jan 17, 2006 2:57 pm

Thanks this works

Please see my other question for the problems I am still encountering

Post Reply