TPieChart::ExplodeBiggest behaving oddly

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Jeff S
Newbie
Newbie
Posts: 13
Joined: Thu Jul 03, 2003 4:00 am

TPieChart::ExplodeBiggest behaving oddly

Post by Jeff S » Fri Jan 09, 2004 1:23 pm

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.

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Mon Jan 12, 2004 5:31 pm

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.
Marjan Slatinek,
http://www.steema.com

Post Reply