ChartDirector 6.2 (.NET Edition)

RanSeries.getDateSeries


Usage

[C#] public {DateTime | double}[] getDateSeries(int len, {DateTime | double} startTime, double tickInc[, bool weekDayOnly]);
[VB] Public Function getDateSeries(len As Integer, startTime As {DateTime | Double}, tickInc As Double[, weekDayOnly As Boolean]) As {DateTime | Double}

Description

Gets an array of date/time values.

Arguments

ArgumentDefaultDescription
len(Mandatory)The number of random values to get.
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 %F value means no skipping.

Return Value

An array of date/time values.