Adding Custom Functions TChart V7, Builder 6

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
AMS
Newbie
Newbie
Posts: 24
Joined: Wed Mar 31, 2004 5:00 am
Location: South Africa
Contact:

Adding Custom Functions TChart V7, Builder 6

Post by AMS » Wed Jun 02, 2004 10:20 am

Hi
I am trying to add a custom function (i.e. not one of the standard functions) to my graph.
I add a scatter plot, and then want to draw a distribution of the X Values, using the normal distribution formula. I can do this manually every time, but I would like to add it as a custom function, in order to update automatically when new data is added.
Is this possible? (I'm sure it is) and how do I go about it. Do I have to define my own TeeFunction, deriving from TTeeFunction? A simple example will be appreciated.

Thanks in Advance

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Wed Jun 02, 2004 12:14 pm

Hi.

A while ago I postead an article about deriving new custom functions. It can be found here
Marjan Slatinek,
http://www.steema.com

AMS
Newbie
Newbie
Posts: 24
Joined: Wed Mar 31, 2004 5:00 am
Location: South Africa
Contact:

Post by AMS » Thu Jun 03, 2004 8:22 am

Thanks, I'll give it a try.

- Hendrik

AMS
Newbie
Newbie
Posts: 24
Joined: Wed Mar 31, 2004 5:00 am
Location: South Africa
Contact:

Post by AMS » Thu Jun 03, 2004 12:59 pm

It works perfectly.

I just want to add the following: The resultant function must be plotted from a specific start to a specific end point. How can I force the function to execute within this specified range. The range may be shorter or longer, for example to predict a future value of some graph.

Thanks in Advance

-Hendrik

AMS
Newbie
Newbie
Posts: 24
Joined: Wed Mar 31, 2004 5:00 am
Location: South Africa
Contact:

Post by AMS » Thu Jul 15, 2004 10:39 am

Any ideas?

Post Reply