Curve Fitting and Smoothing formulas

TeeChart for ActiveX, COM and ASP
Post Reply
ESRI
Newbie
Newbie
Posts: 60
Joined: Wed Mar 09, 2005 5:00 am

Curve Fitting and Smoothing formulas

Post by ESRI » Tue Jun 21, 2005 2:55 am

What formulas are used for calculating Curve Fitting and Smoothing functions in TeeChart ActiveX v7.0.0.4?

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 Jun 21, 2005 10:33 am

Hi Alex,

For curve fitting functions:

TCurveFittingFunction constructs a polynomial line based on its DataSource Series values.

The algorithm used to fit the points is a Gaussian Polynomial.

Use the PolyDegree property to determine the number of polynomial coefficients.

Regarding smoothing function please have a look at this Martijn van Engeland message whose interpolations TeeChart uses, with his permission.
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

ESRI
Newbie
Newbie
Posts: 60
Joined: Wed Mar 09, 2005 5:00 am

Post by ESRI » Tue Jun 28, 2005 7:42 pm

What are valid values for PolyDegree (Curve Fitting) and Factor (Smoothing)?

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

Post by Narcís » Wed Jun 29, 2005 8:35 am

Hi Alex,

The degree of the polynomial is configurable from 2 to 20. Smoothing factor goes from 1 to 100.
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

Post Reply