ChartDirector 6.0 (C++ Edition)

ArrayMath.trim


Usage

ArrayMath& trim(int startIndex = 0, int len = -1);

Description

Trims the ArrayMath object by keeping only some elements in the middle.

Arguments

ArgumentDefaultDescription
startIndex0The index for the first element to keep.
len-1The number of elements to keep. -1 means keeping all elements from the startIndex to the end of the array.

Return Value

The current ArrayMath object.