Class SurfaceGridSeries3D
- Namespace
- LightningChartLib.WinForms.Charting.Series3D
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Surface grid series.
public class SurfaceGridSeries3D : SurfaceSeries3DBase, IChartNode, IDisposable, IHighlightingItem
- Inheritance
-
SurfaceGridSeries3D
- Implements
- Inherited Members
Constructors
SurfaceGridSeries3D()
Constructor for Form designer list editor
public SurfaceGridSeries3D()
SurfaceGridSeries3D(View3D, Axis3DBinding, Axis3DBinding, Axis3DBinding)
Constructor
public SurfaceGridSeries3D(View3D owner, Axis3DBinding xAxis, Axis3DBinding yAxis, Axis3DBinding zAxis)
Parameters
ownerView3DParent.
xAxisAxis3DBindingX-axis you want to bind.
yAxisAxis3DBindingY-axis you want to bind.
zAxisAxis3DBindingZ-axis you want to bind.
Properties
BitmapFill
Surface Bitmap fill style fill.
public BitmapFill3D BitmapFill { get; set; }
Property Value
ContourLineType
Contour line type
public ContourLineType3D ContourLineType { get; set; }
Property Value
ContourLineWidth
Contour line width
public double ContourLineWidth { get; set; }
Property Value
DrawWireframeThrough
If set, draws wireframe through the filled surface, making it always visible from above the surface and below it. Alternatively, you may prefer setting this false and using WireframeOffset to shift the wireframe slightly up or down, making it visible only on the other side of the filled surface.
public bool DrawWireframeThrough { get; set; }
Property Value
Fill
Surface fill
public SurfaceFillStyle Fill { get; set; }
Property Value
LightedSurface
Surface side which is being lit.
public LightedSurfaceSide LightedSurface { get; set; }
Property Value
Remarks
The other side will not be correctly lit. If you need both sides to be lit correctly, make two surfaces and use different lighted surface sides for them.
RangeMaxX
Maximum X range value
public double RangeMaxX { get; set; }
Property Value
RangeMaxZ
Maximum Z range value
public double RangeMaxZ { get; set; }
Property Value
RangeMinX
Minimum X range value
public double RangeMinX { get; set; }
Property Value
RangeMinZ
Minimum Z range value
public double RangeMinZ { get; set; }
Property Value
SmoothShading
Use smooth shading. Otherwise the surface is drawn with sharp triangles.
public bool SmoothShading { get; set; }
Property Value
WireframeType
Wireframe type
public SurfaceWireframeType3D WireframeType { get; set; }
Property Value
Methods
CreateNewDataArray(int, int)
Create new data array.
public override void CreateNewDataArray(int sizeX, int sizeZ)
Parameters
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
GetMinMaxValues(out PointDouble3D, out PointDouble3D)
Get series minimum and maximum data values.
public override bool GetMinMaxValues(out PointDouble3D pMin, out PointDouble3D pMax)
Parameters
pMinPointDouble3DMinimum data values.
pMaxPointDouble3DMaximum data values.
Returns
- bool
True if data exists, false otherwise.
GetTitleText()
public override string GetTitleText()
Returns
- string
returns M:LightningChartLib.WinForms.Charting.Series3D.SurfaceGridSeries3D.GetTitleText
InsertColumnBackAndScroll(double[], double, double, double, double)
Insert new column on the back and drop the first column of data off. This is a performance optimized method for adding one column periodically in real-time, like in FFT spectrum monitor. Refreshes chart.
public SurfaceGridSeries3D.SurfaceGridInsertResult InsertColumnBackAndScroll(double[] columnValuesY, double newSeriesXMin, double newSeriesXMax, double newXAxisMin, double newXAxisMax)
Parameters
columnValuesYdouble[]New column Y values.
newSeriesXMindoubleX minimum of the series, after scrolling.
newSeriesXMaxdoubleX maximum of the series, after scrolling.
newXAxisMindoubleX-axis minimum, after scrolling.
newXAxisMaxdoubleX-axis maximum, after scrolling.
Returns
- SurfaceGridSeries3D.SurfaceGridInsertResult
Return value.
InsertRowBackAndScroll(double[], double, double, double, double)
Insert new data row on the back and drop the first row of data off. This is a performance optimized method for adding one row periodically in real-time, like in FFT spectrum monitor. Refreshes chart.
public SurfaceGridSeries3D.SurfaceGridInsertResult InsertRowBackAndScroll(double[] rowValuesY, double newSeriesZMin, double newSeriesZMax, double newZAxisMin, double newZAxisMax)
Parameters
rowValuesYdouble[]New row Y values.
newSeriesZMindoubleZ minimum of the series, after scrolling.
newSeriesZMaxdoubleZ maximum of the series, after scrolling.
newZAxisMindoubleZ-axis minimum, after scrolling.
newZAxisMaxdoubleZ-axis maximum, after scrolling.
Returns
- SurfaceGridSeries3D.SurfaceGridInsertResult
Return value.
SetRangesXZ(double, double, double, double)
Sets X and Z range at same time. Very CPU efficient way compared to separately setting RangeMinX, RangeMaxX, RangeMinZ and RangeMaxZ properties.
public void SetRangesXZ(double minX, double maxX, double minZ, double maxZ)
Parameters
Remarks
If Max less than Min values, flips them so that Min = Max and Max = Min, X and Z dimensions separately.
ToString()
Item to string.
public override string ToString()
Returns
- string
returns M:LightningChartLib.WinForms.Charting.Series3D.SurfaceGridSeries3D.ToString