Posted: Fri Apr 16, 2004 3:41 pm
maybe this will work...
ASeries := TPointSeries.Create;
ASeries.ParentChart := Chart1;
ASeries.FillSampleValues(10);
for i := 0 to ASeries.Count -1 do
begin
if ASeries.XValues < 5 then
ASeries.ValueColor := clGreen;
if ASeries.XValues > 5 then
ASeries.ValueColor := clWhite;
end;
etc...
ASeries := TPointSeries.Create;
ASeries.ParentChart := Chart1;
ASeries.FillSampleValues(10);
for i := 0 to ASeries.Count -1 do
begin
if ASeries.XValues < 5 then
ASeries.ValueColor := clGreen;
if ASeries.XValues > 5 then
ASeries.ValueColor := clWhite;
end;
etc...