ChartDirector 7.0 (Java Edition)

DBTable.getCol


Usage

public double[] getCol(int i)

Description

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

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

Arguments

ArgumentDefaultDescription
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.