ChartDirector 7.0 (Java Edition)

PyramidLayer.setLayerGap


Usage

public void setLayerGap(double layerGap)

Description

Sets the gap between this pyramid layer and the next pyramid layer.

To apply this method to all pyramid layers, use PyramidChart.setLayerGap.

Arguments

ArgumentDefaultDescription
layerGap(Mandatory)The gap between layers as a ratio to the height of the pyramid. The gap must be greater than or equals 0. The sum of all gaps must be less than 1.

Return Value

None