Page 1 of 1

Color of pie slices

Posted: Mon Apr 11, 2005 10:14 pm
by 9336214
How can I get the color of existing pie slices for a given series?

thanks
Ed Dressel

Posted: Mon Apr 11, 2005 11:10 pm
by Pep
Hi Ed,

you can do :

Code: Select all

var i : integer;
  colors : array of TColor;
begin
SetLength(colors,Series1.Count);
for i:=0 to Series1.Count-1 do
    colors[i]:= Series1.ValueColor[i];
end;