ChartDirector 6.2 (.NET Edition)



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


Gets the requested column of the table as an array of numbers.

If the column is actually of type System.DateTime, it will be converted to a number using ChartDirector's date/time representation. The array can then be used directly in ChartDirector APIs.

This method will throw an InvalidCastException if any datum in the column cannot be converted to a number.


i(Mandatory)The column number. The first column is 0. The nth column is (n - 1).

Return Value

An array of double precision numbers representing the column.