[VB] | Public Function getXIndexOf(xValue As Double [, tolerance As Double ]) As Integer |
[C#] | public int getXIndexOf(double xValue [, double tolerance ]); |
ChartDirector 5.1 (.NET Edition)
Layer.getXIndexOf
Usage
[VB] | Public Function getXIndexOf(xValue As Double [, tolerance As Double ]) As Integer |
[C#] | public int getXIndexOf(double xValue [, double tolerance ]); |
Description
Arguments
Argument | Default | Description |
---|---|---|
xValue | (Mandatory) | The x data value used to look for the data points in order to get the data point index of the nearest data point. |
tolerance | 0 | The tolerance allowed for for data points that are not exactly at the specified xValue. |
Return Value