[C#] | public int getXIndexOf(double xValue [, double tolerance ]); |
[VB] | Public Function getXIndexOf(xValue As Double [, tolerance As Double ]) As Integer |
ChartDirector 7.1 (.NET Edition)
Layer.
Usage
[C#] | public int getXIndexOf(double xValue [, double tolerance ]); |
[VB] | Public Function getXIndexOf(xValue As Double [, tolerance As Double ]) As Integer |
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