The new version of TChartValueList.RecalcStats in v7 in TeEngine.pas has a bug where if StartIndex is passed in as 0 the FTotal and FTotalABS values get the 0th item added in twice, once during the initialisation block line 4981, and again as the loop over the values starts at StartIndex as well.
This causes various drawing issue in Pie charts if you are using the OtherSlice capabilities and no doubt other drawing issues I haven't spotted.
I'm going to hack around the problem for now, but I think that someone should have a careful look at the code in question and figure out exactly how it should be fixed for all cases of StartIndex.
Cheers, Max.
Bug in TChartValueList.RecalcStats in version 7
Hi, Max.
Yes, this is a confirmed bug. I've already posted a fix in this newsgrop. Here is the link.
The fix will be included in upcoming TeeChart v7.01 release.
Yes, this is a confirmed bug. I've already posted a fix in this newsgrop. Here is the link.
The fix will be included in upcoming TeeChart v7.01 release.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com