Page 1 of 1

Version 8 - TSurface Series - FastBrush - Color

Posted: Tue Jul 03, 2007 2:42 pm
by 9231987
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

Posted: Tue Jul 03, 2007 2:52 pm
by narcis
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.