ChartDirector 5.1 (PHP Edition)

ArrayMath.sub


Usage

sub(b)

Description

Subtracts an array from the ArrayMath object.

The array will be subtracted by subtracting each array element from the corresponding element of the ArrayMath object.

Arguments

ArgumentDefaultDescription
b(Mandatory)An array of numbers to be subtracted from the ArrayMath object.

Return Value

The current ArrayMath object.