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
Syntaxpublic bool CoordsToValues(
int[] xCoords,
out double[] xValues,
bool UseDIP = true
)
Public Function CoordsToValues (
xCoords As Integer(),
<OutAttribute> ByRef xValues As Double(),
Optional UseDIP As Boolean = true
) As Boolean
public:
bool CoordsToValues(
array<int>^ xCoords,
[OutAttribute] array<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:
BooleanTrue if the coordinate was successfully converted.
Exceptions| Exception | Condition |
|---|
| Exception | Throws exception if x coordinate is not over graph area. |
See Also