ChartDirector Ver 4.1 (ColdFusion 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 in the given range.
setCol2(Self)Fill the given column in the RanTable with random numbers that fluctuates within a given speed.
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.