Page 1 of 1

Curve Fitting and Smoothing formulas

Posted: Tue Jun 21, 2005 2:55 am
by 9526208
What formulas are used for calculating Curve Fitting and Smoothing functions in TeeChart ActiveX v7.0.0.4?

Posted: Tue Jun 21, 2005 10:33 am
by narcis
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.

Posted: Tue Jun 28, 2005 7:42 pm
by 9526208
What are valid values for PolyDegree (Curve Fitting) and Factor (Smoothing)?

Posted: Wed Jun 29, 2005 8:35 am
by narcis
Hi Alex,

The degree of the polynomial is configurable from 2 to 20. Smoothing factor goes from 1 to 100.