ChartDirector 6.0 (C++ Edition)

ArrayMath.insert2


Usage

ArrayMath& insert(double c, int len, int insertPoint = -1);

Description

Inserts some constant elements to the ArrayMath object.

Arguments

ArgumentDefaultDescription
c(Mandatory)The value of the constant element.
len(Mandatory)The number of elements to insert.
insertPoint-1The position of the insertion point. The new elements will be inserted just before the insertion point. -1 means inserting elements at the end of the array.

Return Value

The current ArrayMath object.