Page 1 of 1

Adding Custom Functions TChart V7, Builder 6

Posted: Wed Jun 02, 2004 10:20 am
by 9231947
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

Posted: Wed Jun 02, 2004 12:14 pm
by Marjan
Hi.

A while ago I postead an article about deriving new custom functions. It can be found here

Posted: Thu Jun 03, 2004 8:22 am
by 9231947
Thanks, I'll give it a try.

- Hendrik

Posted: Thu Jun 03, 2004 12:59 pm
by 9231947
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

Posted: Thu Jul 15, 2004 10:39 am
by 9231947
Any ideas?