ChartDirector 6.0 (Ruby Edition)

JsXYChart.getLayerByZ


Usage

getLayerByZ(zIndex)

Description

Gets a JsLayer object based on the order in which it is being drawn.

Arguments

ArgumentDefaultDescription
zIndex(Mandatory)The z-index of the required layer. The z-index of the first layer drawn is 0. The z-index for the Nth layer drawn is N - 1.

Return Value

The JsLayer object at the specified z-order.