Click or drag to resize

AxisXCoordsToValues Method

LightningChart .NET Help
Convert X screen coordinates to values on X axis.

Namespace:  Arction.Wpf.ChartingMVVM.Axes
Assembly:  Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntax
public bool CoordsToValues(
	int[] xCoords,
	out double[] xValues,
	bool UseDIP = true
)

Parameters

xCoords
Type: SystemInt32
X screen coordinates
xValues
Type: SystemDouble
X values
UseDIP (Optional)
Type: SystemBoolean
If true, xCoords is interpreted as coordinates in DIPs, otherwise in PX.

Return Value

Type: Boolean
True if the coordinate was successfully converted.
Exceptions
ExceptionCondition
ExceptionThrows exception if x coordinate is not over graph area.
See Also