Table of Contents

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

owner View3D

Parent.

xAxis Axis3DBinding

X-axis you want to bind.

yAxis Axis3DBinding

Y-axis you want to bind.

zAxis Axis3DBinding

Z-axis you want to bind.

Properties

BitmapFill

Surface Bitmap fill style fill.

public BitmapFill3D BitmapFill { get; set; }

Property Value

BitmapFill3D

ContourLineType

Contour line type

public ContourLineType3D ContourLineType { get; set; }

Property Value

ContourLineType3D

ContourLineWidth

Contour line width

public double ContourLineWidth { get; set; }

Property Value

double

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

bool

Fill

Surface fill

public SurfaceFillStyle Fill { get; set; }

Property Value

SurfaceFillStyle

LightedSurface

Surface side which is being lit.

public LightedSurfaceSide LightedSurface { get; set; }

Property Value

LightedSurfaceSide

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

double

RangeMaxZ

Maximum Z range value

public double RangeMaxZ { get; set; }

Property Value

double

RangeMinX

Minimum X range value

public double RangeMinX { get; set; }

Property Value

double

RangeMinZ

Minimum Z range value

public double RangeMinZ { get; set; }

Property Value

double

SmoothShading

Use smooth shading. Otherwise the surface is drawn with sharp triangles.

public bool SmoothShading { get; set; }

Property Value

bool

WireframeType

Wireframe type

public SurfaceWireframeType3D WireframeType { get; set; }

Property Value

SurfaceWireframeType3D

Methods

CreateNewDataArray(int, int)

Create new data array.

public override void CreateNewDataArray(int sizeX, int sizeZ)

Parameters

sizeX int

X size.

sizeZ int

Z size.

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true 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

pMin PointDouble3D

Minimum data values.

pMax PointDouble3D

Maximum data values.

Returns

bool

True if data exists, false otherwise.

GetTitleText()

summary M:LightningChartLib.WinForms.Charting.Series3D.SurfaceGridSeries3D.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

columnValuesY double[]

New column Y values.

newSeriesXMin double

X minimum of the series, after scrolling.

newSeriesXMax double

X maximum of the series, after scrolling.

newXAxisMin double

X-axis minimum, after scrolling.

newXAxisMax double

X-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

rowValuesY double[]

New row Y values.

newSeriesZMin double

Z minimum of the series, after scrolling.

newSeriesZMax double

Z maximum of the series, after scrolling.

newZAxisMin double

Z-axis minimum, after scrolling.

newZAxisMax double

Z-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

minX double

Minimum X.

maxX double

Maximum X.

minZ double

Minimum Z.

maxZ double

Maximum Z.

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