Page 1 of 1

"Other" handling

Posted: Sat Sep 06, 2008 6:48 pm
by 5887342
Two questions having to do with Other:

1) In addition to the values that get automatically grouped into OtherSlice (for example by:

Code: Select all

with PieSeries do begin
  OtherSlice.Style:=poBelowPercent;
  OtherSlice.Value:=10;
end;
can I manually force a slice to be a part of the Other grouping, even if it's above that threshold value? Some users of my application have been asking for that ability for a while. Go figure.

2) Can non-pie charts (e.g., the Vertical Bar series) have an Other-grouping ability? Perhaps I can cheat by using a TPieSeries cast? This one I'm sure is obvious, but I didn't see explicit mention of it either way.

Thanks!!!
richard diamond

Posted: Mon Sep 08, 2008 8:42 am
by narcis
Hi Richard,

1. I'm afraid this is not possible.

2. I don't think this would work as most likely you'd get a type casting error. The only solution I can think of for 1 and 2 is manually grouping values as you wish and add them to one single pie slice or bar.

Posted: Mon Sep 08, 2008 3:46 pm
by 9337917
Narcis,

Thank you for the suggestion (and the quick reply!).

That's in fact the approach I've been doing all along, manually managing the Other slice(s), both in pie charts and non-pie charts. Although I was hoping to take advantage of the OtherSlice machinery, guess not..

Regards,
richard diamond