TCustom3dSeries.AddXYZ help incorrect
Posted: Wed May 28, 2008 7:30 am
Hello,
I am trying to find out how to add a point to a TColorSeries and set the color. There is an AddXYZ in the help for TCustom3DSeries that is incorrect.
It says
the way that we added the colors are
Is there a way to add a color in just on line. Since a colorgrid is basically useful for displaying a picture, I would like something like
I am trying to find out how to add a point to a TColorSeries and set the color. There is an AddXYZ in the help for TCustom3DSeries that is incorrect.
It says
There is no AColor parameter as far as I can tell, and the help is referring to a surface polygon.The AddXYZ method adds a new point to the Surface Series.
You can also use the Surface OnGetYValue event to supply Y values for a given pair of X,Z values.
Specific colors can be assigned to each Surface polygon by using the AColor parameter.
the way that we added the colors are
Code: Select all
for i:=0 to 5 do
for j:=0 to 5 do
begin
idx:=series1.addXYZ(i,0,j);
series1.ValueColor[idx]:=clRed;
end;
Code: Select all
ColorGridSeries.AddXYZ(x,y,someColor)