Click or drag to resize

SeriesBasePolarSolveNearestDataPointByCoord Method

LightningChart .NET Help
Tries to find the closest point of the series to the given coordinates [input in PX].

Namespace:  Arction.Wpf.Charting.SeriesPolar
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public bool SolveNearestDataPointByCoord(
	double xCoordinate,
	double yCoordinate,
	out double nearestAngleValue,
	out double nearestAmplitudeValue
)

Parameters

xCoordinate
Type: SystemDouble
X screen coordinate (as PX) to find the nearest series point from.
yCoordinate
Type: SystemDouble
Y screen coordinate (as PX) to find the nearest series point from.
nearestAngleValue
Type: SystemDouble
Angle value of the found point.
nearestAmplitudeValue
Type: SystemDouble
Amplitude value of the found point.

Return Value

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