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
Changing color in the PointSeries or Point3DSeries
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi IIHR,
You can also set each color point in the Add method, for example:
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;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |