ChartDirector 6.0 (C++ Edition)

PyramidChart.getLayer


Usage

PyramidLayer *getLayer(int layerNo);

Description

Retrieves the PyramidLayer object representing a single pyramid layer in the pyramid chart.

You must call PyramidChart.setData to create the layers first before calling this method.

Arguments

ArgumentDefaultDescription
layerNo(Mandatory)The layer number of the pyramid layer to retrieve, starting from 0. The first pyramid layer is 0. The nth pyramid layer is (n-1).

Return Value

The requested PyramidLayer object.