ChartDirector 6.2 (.NET Edition)



[C#] public double getPosition(int i);
[VB] Public Function getPosition(i As Integer) As Double


Gets the positional value of a data point.

The positional value is the value used to position the data point. Usually, the positional value is equal to the data value. However, for chart types in which the data sets are combined using the Stack or Percentage method, the positional value can be different from the data value. For example, for stacked charts, the positional value of a data point is equal to the accumulative value of the corresponding data points from data sets added before the target data set.


i(Mandatory)The data point index of the data point. The first data point is 0; the nth data point is (n - 1).

Return Value

The positional value of the data point.