ChartDirector 6.0 (Ruby Edition)

JsLayer.getDataSetByZ


Usage

getDataSetByZ(zIndex)

Description

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

Arguments

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

Return Value

The JsDataSet object at the specified z-order.