problems with spline smoothing
Posted: Thu Feb 21, 2008 1:20 pm
Dear Support
I wanted to use spline smoothing, but I face a problem. The code is very simple (VB6).:
.TChartMBPressure.Series(3).DataSource = .TChartMBPressure.Series(0)
.TChartMBPressure.Series(3).CheckDataSource
.TChartMBPressure.Series(3).FunctionType.asSmoothing.FACTOR = 4
In other words Series(0) (a point series) is filled up with some point values, and I would like to do a spline smoothing to them with the help of Series(3) (a line series). Upon issuing the 3rd. line however I get the error message:
Run-time error '-2147418113 (8000ffff)'
Method 'Factor' of object ISmoothingFunction' failed
What can be the problem? I tried to do this in tha same way, as described in the tutorial, or demo under All Fetures/Functions/Extended/Smoothing Spline
Tx in advance, best regards
Andras
I wanted to use spline smoothing, but I face a problem. The code is very simple (VB6).:
.TChartMBPressure.Series(3).DataSource = .TChartMBPressure.Series(0)
.TChartMBPressure.Series(3).CheckDataSource
.TChartMBPressure.Series(3).FunctionType.asSmoothing.FACTOR = 4
In other words Series(0) (a point series) is filled up with some point values, and I would like to do a spline smoothing to them with the help of Series(3) (a line series). Upon issuing the 3rd. line however I get the error message:
Run-time error '-2147418113 (8000ffff)'
Method 'Factor' of object ISmoothingFunction' failed
What can be the problem? I tried to do this in tha same way, as described in the tutorial, or demo under All Fetures/Functions/Extended/Smoothing Spline
Tx in advance, best regards
Andras