Curve fit.

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Hans Wolfgang
Newbie
Newbie
Posts: 58
Joined: Fri Nov 15, 2002 12:00 am
Location: Naples, FL
Contact:

Curve fit.

Post by Hans Wolfgang » Tue Oct 13, 2009 11:51 pm

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.

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

Re: Curve fit.

Post by Narcís » Wed Oct 14, 2009 7:48 am

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.
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

Hans Wolfgang
Newbie
Newbie
Posts: 58
Joined: Fri Nov 15, 2002 12:00 am
Location: Naples, FL
Contact:

Re: Curve fit.

Post by Hans Wolfgang » Wed Oct 14, 2009 2:20 pm

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?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Curve fit.

Post by Yeray » Thu Oct 15, 2009 11:11 am

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 500 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).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply