Page 1 of 1
How to prevent creating white series?
Posted: Fri Jul 20, 2007 11:33 am
by 9349911
Hi !
Well I donĀ“t know who need white as autocolor for generated (Fast) Seires !?
Is there a way to prohibit the TChart engine using white as a automatic color?
Posted: Mon Jul 23, 2007 11:48 am
by Pep
Hi Dominik,
what do you mean with (Fast) series ?
In case you refer to how to customize the predefined colors for created Series, you can modify the colorpalette array manually using similar code to the following :
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var
t:integer;
begin
SetLength(Chart1.ColorPalette,Length(RainbowPalette));
for t:=0 to Length(RainbowPalette)-1 do
Chart1.ColorPalette[t]:=RainbowPalette[t];
end;
Posted: Mon Jul 23, 2007 11:55 am
by 9349911
Hi Pep,
Thx for that information.
what do you mean with (Fast) series ?
I mean TFastLineSeries. Sorry for the wrong wording. [/code]