Page 1 of 1

Polynomial Fitting on Series

Posted: Thu Oct 09, 2008 9:05 am
by 14048132
Greetings,

I tried to apply poly. fitting on my series but got an exception from the red line bellow. Please help me to solve this problem. Thanks a lot.

fastLine1.Function = polyFitting1

Code: Select all

        Dim series As Steema.TeeChart.Styles.Points = _
          TChart1.Series.Add(New Steema.TeeChart.Styles.Points())
        series.Add(0.0000327429511222184, 217.974565416658)
        series.Add(0.0000449872090402736, 113.620689449038)
        series.Add(0.0000707548748640967, 506.886177999488)

        Dim polyFitting1 As New Steema.TeeChart.Functions.PolyFitting
        Dim fastLine1 As New Steema.TeeChart.Styles.FastLine
        fastLine1.DataSource = series
        fastLine1.VertAxis = series.VertAxis
        polyFitting1.PolyDegree = 3
        fastLine1.Function = polyFitting1
        fastLine1.ShowInLegend = True
        TChart1.Series.Add(fastLine1)

        TChart1.Aspect.View3D = False

Posted: Thu Oct 09, 2008 10:32 am
by narcis
Hi Chris,

Thanks for reporting. I could reproduce the issue here and added it (TF02013440) to the defect list to be fixed for next releases.

Posted: Tue Feb 03, 2009 6:00 am
by 14048132
Dear Sirs,

Can you please tell me what the current state of your implementation is?

Thank you.

Posted: Tue Feb 03, 2009 11:01 am
by narcis
Hi Chris,

We have been investigating the issue here and it seems an expected behaviour as an exception handling was added for TF02011495, which is described here:

http://www.teechart.net/support/viewtop ... tf02011495
http://www.teechart.net/support/viewtop ... tf02011495