ChartDirector 7.1 (C++ Edition)

ColorAxis.setBoxMargin2


Usage

void setBoxMargin(int leftMargin, int rightMargin, int topMargin, int 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