ChartDirector 5.1 (PHP Edition)

JsXYChart.getLayer


Usage

getLayer(i)

Description

Gets a JsLayer object based on the order in which it is being added to the chart.

Arguments

ArgumentDefaultDescription
i(Mandatory)The index of the data layer. The index of the first layer added to the chart is 0. The index of the Nth layer added to the chart is N - 1.

Return Value

The specified JsLayer object.