ChartDirector 7.1 (C++ Edition)

PyramidChart.setJoinLineGap


Usage

void setJoinLineGap(int pyramidGap, int pyramidMargin = 10, int textGap = 3);

Description

Sets the gaps of the join lines that join the pyramid layers with the left and right labels.

This method affects all pyramid layers. To apply this method to one particular pyramid layer only, use PyramidLayer.setJoinLineGap.

By default, the starting point of the join line connects to the pyramid layer edge with a 3 pixels gap. The join line is horizontal, and its length is such that the ending point is 10 pixels outside the pyramid bounding box. The label text box connects to the ending point with a 3 pixels gap.

This method allows the gaps and positions of the join line end points to be configured to other values.

Arguments

ArgumentDefaultDescription
pyramidGap(Mandatory)The gap in pixels between the starting point of the join line and the pyramid layer edge.
pyramidMargin10The distance in pixels between the ending point of the join line and the pyramid bounding box.
textGap3The gap in pixels between the label text box and the ending point of the join line.

Return Value

None