ChartDirector 7.1 (C++ Edition)

RanSeries.fillDateSeries


Usage

void fillDateSeries(double* ret, int len, double startTime, double tickInc, bool weekDayOnly = false);

Description

Fill an array with date/time values.

Arguments

ArgumentDefaultDescription
ret(Mandatory)The array to be filled.
len(Mandatory)The number of values to generate.
startTime(Mandatory)The first date/time.
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