I would like to display XZ and YZ planes that can be moved across the chart in order to act as an object cutting plane. These planes should be semitranparent so that the main object which is also a TSurfaceseries is visible independent of the position of the XZ and YZ planes. How can I make a TSurfaceSeries semitransparent ? - Simply setting the "tranparency" to a value >0 makes the corresponding SurfaceSeries completely invisble - setting "transparency" to 0 makes it fully intransparent.
Is there any other property to set to enable transparency ?
Code: Select all
//This is the main surface (intransparent)
FSurfaceSeries:=TSurfaceSeries(AddSeries(TSurfaceSeries));
FSurfaceSeries.PaletteStyle:=psRainbow;
FSurfaceSeries.UseColorRange:= false;
FSurfaceSeries.UsePalette:= true;
FSurfaceSeries.IrregularGrid:= true;
//FXZPlane and FYZPlane should be semitransparent
FXZPlane:=TSurfaceSeries(AddSeries(TSurfaceSeries));
FXZPlane.IrregularGrid:=true;
FXZPlane.Transparency:=50;
FYZPlane:=TSurfaceSeries(AddSeries(TSurfaceSeries));
FYZPlane.IrregularGrid:=TRUE;
FYZPlane.Transparency:=50;
Klaus