Click or drag to resize

SeriesBaseSmithSolverNearestDataPointByCoord Method

LightningChart .NET Help
Tries to find the closest point of the series to the given coordinates.

Namespace:  Arction.Wpf.Charting.SeriesSmith
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public bool SolverNearestDataPointByCoord(
	double xCoordinate,
	double yCoordinate,
	out double nearestRealComponent,
	out double nearestImaginaryComponent
)

Parameters

xCoordinate
Type: SystemDouble
X screen coordinate to find the nearest series point from.
yCoordinate
Type: SystemDouble
X screen coordinate to find the nearest series point from.
nearestRealComponent
Type: SystemDouble
Angle value of the found point.
nearestImaginaryComponent
Type: SystemDouble
Amplitude value of the found point.

Return Value

Type: Boolean
True if nearest point was found, false otherwise.
See Also