Hi,
I’m using some TCurveFittingFunction in my application. It works very well except for one of my charts.
When I have a polydegree > 7, teepoly.PolyFitting raise an exception (cause « Abs(M[i,i]) < Error » in GaussianFitting). The problem is systematic with this chart.
At the call of GaussianFitting, The M and B matrix contain strange value as Xe-4933 or Xe+3367 .
I try to create a simple example of this error, but I cannot recreate the problem. I also tried to found a “reason/cause” without any result.
The chart that don’t work got a TDateTime bottom axis with value < 1 (only hour ) and normal value on Y (float between 10 and 10'000 depending the case). The DataSource is a TFastLineSeries (not like my others chart that use Candle)
Also, I didn’t understood the use of the « period » for this function. I try to change the value, but I didn’t see any differences.
Do you have any idea or suggestions? Did I do somethings wrong?
Thanks in advance,
Context:
winXP SP2,
TeeChart win 7.05
Delphi Architect 9.0
PS : For CurvFitting, the PolyDegree parameter isn’t display in the Chart Editor. But the period is.
TCurveFittingFunction raise if PolyDegree > 7
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mariano,
Would be so kind as to look at the problem again as we won't be able to fix it without being able to reproduce it?
Regarding the Period in TCurveFittingFunction, Period is not appliable to that function.
Would be so kind as to look at the problem again as we won't be able to fix it without being able to reproduce it?
Regarding the Period in TCurveFittingFunction, Period is not appliable to that function.
I've added it to our wish-list to be enhanced for future releases.PS : For CurvFitting, the PolyDegree parameter isn’t display in the Chart Editor. But the period is.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi,
I just upload an example on the news chanel.
I did use LoadChartFromFile to create it.
I put you two chart file. The both crash on my PC when I click on « make it crash »
Thanks in advance
Precision :
I made the test at RuntTime.
I erase the tools and the event from the .tee file.
PS : I also found some case where it’s work fine. It looks like the problem is linked with the value of the series. I don’t know...
I just upload an example on the news chanel.
I did use LoadChartFromFile to create it.
I put you two chart file. The both crash on my PC when I click on « make it crash »
Thanks in advance
Precision :
I made the test at RuntTime.
I erase the tools and the event from the .tee file.
PS : I also found some case where it’s work fine. It looks like the problem is linked with the value of the series. I don’t know...
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mariano,
Thanks for the project. I could reproduce the problem here and added it (TF02011495) to our defect list to be investigated and fixed for future releases.
Thanks for the project. I could reproduce the problem here and added it (TF02011495) to our defect list to be investigated and fixed for future releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
work around can be found here:
http://www.teechart.net/support/viewtop ... =poly+fitt
http://www.teechart.net/support/viewtop ... =poly+fitt