ChartDirector Ver 5.0 (PHP 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.

Method | Inherited | Description
--- | --- | ---
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.

© 2009 Advanced Software Engineering Limited. All rights reserved.