Page 1 of 1

Changing color in the PointSeries or Point3DSeries

Posted: Tue Mar 25, 2008 8:02 pm
by 9233515
Is it possible to change color in a single point series. For instance, if each point has value from 1 to 10, I would like to gradually change color from light blue to dark blue.

Thank you in advance.

Dongsu Kim
Graduate Research Assistant
IIHR - Hydroscience & Engineering
The University of Iowa

Posted: Tue Mar 25, 2008 9:03 pm
by 9047589
Use ValueColor property

Posted: Wed Mar 26, 2008 9:47 am
by narcis
Hi IIHR,

You can also set each color point in the Add method, for example:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  Series1.ColorEachPoint := true;

  for i:=0 to 255 do
    Series1.Add(random,'',rgb(i,i,i));
end;