ChartDirector 5.1 (PHP Edition)

ColorAxis.setBoxMargin2


Usage

setBoxMargin2(leftMargin, rightMargin, topMargin, bottomMargin)

Description

Sets the margins of the bounding box in pixels.

The margins of a bounding box refer to the distances between the borders of the bounding box to the color axis inside.

Arguments

ArgumentDefaultDescription
leftMargin(Mandatory)The left margin in pixels.
rightMargin(Mandatory)The right margin in pixels.
topMargin(Mandatory)The top margin in pixels.
bottomMargin(Mandatory)The bottom margin in pixels.

Return Value

None