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
Syntaxpublic bool SolveNearestDataPointByCoord(
double xCoordinate,
double yCoordinate,
out double nearestAngleValue,
out double nearestAmplitudeValue
)
Public Function SolveNearestDataPointByCoord (
xCoordinate As Double,
yCoordinate As Double,
<OutAttribute> ByRef nearestAngleValue As Double,
<OutAttribute> ByRef nearestAmplitudeValue As Double
) As Boolean
public:
bool SolveNearestDataPointByCoord(
double xCoordinate,
double yCoordinate,
[OutAttribute] double% nearestAngleValue,
[OutAttribute] 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:
BooleanTrue if nearest point was found, false otherwise.
See Also