Table of Contents

Class SeriesBaseSmith

Namespace
LightningChartLib.WinForms.Charting.SeriesSmith
Assembly
LightningChart.WinForms.Charting.NET4.dll

Base class for all polar series.

public abstract class SeriesBaseSmith : SeriesBaseRound, IChartNode, IHighlightingItem, IDisposable
Inheritance
SeriesBaseSmith
Implements
Derived
Inherited Members

Constructors

SeriesBaseSmith()

Constructor for Form designer list editor.

protected SeriesBaseSmith()

SeriesBaseSmith(ViewSmith, AxisSmith)

Constructor

protected SeriesBaseSmith(ViewSmith owner, AxisSmith axisSmith)

Parameters

owner ViewSmith
param owner M:LightningChartLib.WinForms.Charting.SeriesSmith.SeriesBaseSmith.#ctor(LightningChartLib.WinForms.Charting.Views.ViewSmith.ViewSmith,LightningChartLib.WinForms.Charting.Axes.AxisSmith)
axisSmith AxisSmith
param axisSmith M:LightningChartLib.WinForms.Charting.SeriesSmith.SeriesBaseSmith.#ctor(LightningChartLib.WinForms.Charting.Views.ViewSmith.ViewSmith,LightningChartLib.WinForms.Charting.Axes.AxisSmith)

Properties

Points

Series points

public SmithSeriesPoint[] Points { get; set; }

Property Value

SmithSeriesPoint[]

Methods

AddPoints(SmithSeriesPoint[], bool)

Add points to end of series

public int AddPoints(SmithSeriesPoint[] points, bool invalidateChart)

Parameters

points SmithSeriesPoint[]

Points

invalidateChart bool

Update chart after adding. Updating will raise CPU load, so you maybe don't want to use this with every call if points are added many times per second.

Returns

int

Point count after adding

Clear()

Clear all points

public virtual void Clear()

GetMinMaxFromXRange(out double, out double, double, double)

Get min and max amplitude value withing given angle range

public override bool GetMinMaxFromXRange(out double yMin, out double yMax, double xRangeMin, double xRangeMax)

Parameters

yMin double

Minimum amplitude value

yMax double

Maximum amplitude value

xRangeMin double

Angle range start

xRangeMax double

Angle range end

Returns

bool

True if values were successfully detected

SolverNearestDataPointByCoord(double, double, out double, out double)

Tries to find the closest point of the series to the given coordinates.

public bool SolverNearestDataPointByCoord(double xCoordinate, double yCoordinate, out double nearestRealComponent, out double nearestImaginaryComponent)

Parameters

xCoordinate double

X screen coordinate to find the nearest series point from.

yCoordinate double

X screen coordinate to find the nearest series point from.

nearestRealComponent double

Angle value of the found point.

nearestImaginaryComponent double

Amplitude value of the found point.

Returns

bool

True if nearest point was found, false otherwise.