ChartDirector 7.0 (Python Edition)

ArrayMath.trim


Usage

trim([ startIndex [, len ]])

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.