ChartDirector 7.1 (.NET Edition)

RanTable.setDateCol


Usage

[C#]public void setDateCol(int i, {double | DateTime} startTime, double tickInc [, bool weekDayOnly ]);
[VB]Public Sub setDateCol(i As Integer, startTime As {Double | DateTime}, tickInc As Double [, weekDayOnly As Boolean ])

Description

Fill the given column in the RanTable with a date/time series.

Arguments

ArgumentDefaultDescription
i(Mandatory)The column to fill. The first column is 0. The nth column is (n - 1).
startTime(Mandatory)The date/time of the first record in the column.
tickInc(Mandatory)The change in date/time for subsequent records in seconds. The value 30 * 86400 is assumed to mean 1 month (which is not a constant interval), and its multiplies are assumed to mean multiple months. In particular, the value 360 * 86400 is assumed to mean 12 months, or 1 year.
weekDayOnlyfalseA true value means skipping dates that are not weekdays (Saturday and Sunday). A false value means no skipping.

Return Value

None