Version 8 - TSurface Series - FastBrush - Color

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
MTW
Newbie
Newbie
Posts: 18
Joined: Fri Apr 02, 2004 5:00 am

Version 8 - TSurface Series - FastBrush - Color

Post by MTW » Tue Jul 03, 2007 2:42 pm

When setting FastBrush to true (TSurfaceSeries) and adding points using ADDXYZ (specifying different colors), the first time the chart is displayed, it is displayed in monochrome (all blue). However, upon redisplaying the chart, the color appeared correctly. Do you have any suggestions to get the display working properly the first time?

Thanks
M Weingarden

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jul 03, 2007 2:52 pm

Hi MTW,

It works fine for me here using latest v8 available at the client area and this code:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.FastBrush:=true;

  Series1.AddXYZ(0,random,0,'',clRed);
  Series1.AddXYZ(0,random,1,'',clBlue);
  Series1.AddXYZ(0,random,2,'',clYellow);
  Series1.AddXYZ(1,random,0,'',clGreen);
  Series1.AddXYZ(1,random,1,'',clMaroon);
  Series1.AddXYZ(1,random,2,'',clWhite);
  Series1.AddXYZ(2,random,0,'',clLime);
  Series1.AddXYZ(2,random,1,'',clNavy);
  Series1.AddXYZ(2,random,2,'',clOlive);
end;
Can you please test if it works fine at your end and modify it so that we can reproduce the problem here?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply