Page 1 of 1

Curve fit.

Posted: Tue Oct 13, 2009 11:51 pm
by 5890703
Running TeeChart Office, I have a source series defined and named. I would like to use the series to conduct a curve fit. When I double click the empty chart of type Line, select Series| Data Source | Function = Curve Fitting, my series does not show up in the list of source series. I can see it in the drop-down list at the top of the dialog but cannot use it because it does not appear in the available list under "Source Series"

Must be missing a key step. Any help appreciated.

Re: Curve fit.

Posted: Wed Oct 14, 2009 7:48 am
by narcis
Hans,

Could it be because this is the same series you are trying to apply the curve fitting function? Please notice that you will need one series as the datasource and another series for representing the function graphically. For more information on functions usage please read tutorial 7. Tutorials can be found at TeeChart's program group.

If this doesn't help don't hesitate to let us know.

Re: Curve fit.

Posted: Wed Oct 14, 2009 2:20 pm
by 5890703
I looked at Tutorial 7 again.

When I defined a new line series I got about 20 points randomly varying about the four points in the first series.

What I want to do is to replicate my existing series and fit a straight line through those points.

Can Tee Chart Office perform a linear curve fit through all points in a series?

Re: Curve fit.

Posted: Thu Oct 15, 2009 11:11 am
by yeray
Hi Hans,

Please, take a look at the following example. You can load the example in TeeChart Office through File\New using Wizard...\Chart from template.
CurveFitting.zip
CurveFitting.tee
(920 Bytes) Downloaded 497 times
Once loaded, note that there is a Point series, the source. And there is a Line series that is the curve fitting function (datasource tab).