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
ownerViewSmithparam owner M:LightningChartLib.WinForms.Charting.SeriesSmith.SeriesBaseSmith.#ctor(LightningChartLib.WinForms.Charting.Views.ViewSmith.ViewSmith,LightningChartLib.WinForms.Charting.Axes.AxisSmith) axisSmithAxisSmithparam 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
Methods
AddPoints(SmithSeriesPoint[], bool)
Add points to end of series
public int AddPoints(SmithSeriesPoint[] points, bool invalidateChart)
Parameters
pointsSmithSeriesPoint[]Points
invalidateChartboolUpdate 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
yMindoubleMinimum amplitude value
yMaxdoubleMaximum amplitude value
xRangeMindoubleAngle range start
xRangeMaxdoubleAngle 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
xCoordinatedoubleX screen coordinate to find the nearest series point from.
yCoordinatedoubleX screen coordinate to find the nearest series point from.
nearestRealComponentdoubleAngle value of the found point.
nearestImaginaryComponentdoubleAmplitude value of the found point.
Returns
- bool
True if nearest point was found, false otherwise.