Page 1 of 1

TPieChart::ExplodeBiggest behaving oddly

Posted: Fri Jan 09, 2004 1:23 pm
by 8438518
TPieChart::ExplodeBiggest seems to be exploding all the pie slices, not just
the biggest.

Anyone seen this one or have any insight?

Same result for both 2D and 3D. Interestingly enough, however, if the
biggest slice is first in the data series, the rendition is correct with
only the first exploded and the rest neatly aligned together. (From this
one can speculate how TPieChart::ExplodeBiggest is implemented but it would
only be conjecture).

Doesn't look that bad to me personally but our QA department has bounced
this back as a bug.

Running CBuilder 6 with all current service. Using the bundled version of
TeeChart. We are licensed for TeeChart 6 Pro but are not using it yet
because of certain problems we haven't yet had time to address.

Posted: Mon Jan 12, 2004 5:31 pm
by Marjan
Hi.

Using the latest TeeChart v6.01 version the algorithm works correctly i.e. only the biggest pie is exploded:

Code: Select all

  pie1->Add(5,"",clTeeColor);
  pie1->Add(6,"",clTeeColor);
  pie1->Add(15,"",clTeeColor);
  pie1->Add(7,"",clTeeColor);
  pie1->Add(8,"",clTeeColor);
  Series1->ExplodeBiggest = 30;
I got the same results with TeeChart v4 Standard (version, shipped with BCB 6). If there is not too much trouble, can you send me small sample application (as-is, sources only) which demonstrates the problem ? I'll try to debug/find a fix for it. Also, I'll compile/run it with latest TeeChart version, just to be sure, the problem is not a bug.