Hi,
I'm trying to create a surface that uses floating point X Y and Z values ( also the X and Z values may not be a fixed distance apart, but they are in this example). If you try the example you get a simple surface :-
aSurfaceSeries := TSurfaceSeries.Create(Chart1);
aSurfaceSeries.ParentChart := Chart1;
aSurfaceSeries.Transparency := 15;
aSurfaceSeries.Depth := 1;
aSurfaceSeries.Marks.Visible := true;
for i := 0 to 10 do
for j := 0 to 10 do
aSurfaceSeries.AddXYZ(j, Random(i * j) ,i, '', clred);
now try making the Z a non integer value :-
aSurfaceSeries.AddXYZ(j, Random(i * j) ,i + 0.5, '', clred);
The surface is there because the marks are visible but the surface is invisible? the same thing happens with the X value.
Why? and how can I get this to work? BTW we are using Delphi 7 with TeeChart Pro 7.
Thanks
Tom
Invisible surface
Hi Tom,
have you try setting the IrregularGrid property to True (Series1.IrregularGrid := True) befoe to add the data ?
have you try setting the IrregularGrid property to True (Series1.IrregularGrid := True) befoe to add the data ?
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 5
- Joined: Tue May 18, 2004 4:00 am