ChartDirector 7.0 (Java Edition)

RanTable


RanTable is a utility class to produce tables with random numbers. It facilitates testing and demonstrating ChartDirector programs without needing a real database table.

MethodInheritedDescription
RanTable(Self)Creates a RanTable object.
setCol(Self)Fill the given column in the RanTable with random numbers.
setCol2(Self)Fill the given column in the RanTable with numbers that fluctuate randomly.
setDateCol(Self)Fill the given column in the RanTable with a date/time series.
setHLOCCols(Self)Fill 4 columns in the RanTable with random high, low, open and close records.
selectDate(Self)Selects the rows within a certain date range.
getCol(Self)Gets the request column as an array of numbers.