ChartDirector 5.1 (PHP Edition)

Layer.setDataCombineMethod


Usage

setDataCombineMethod(m)

Description

Sets the method used to combine multiple data sets in a layer.

This method is used only for layers that can combine multiple data sets in different ways. Some layers can only support a subset of the data combine methods defined below.

ConstantValueDescription
Side3 The data sets are combined by plotting the data representation side by side.
Stack1 The data sets are combined by stacking up their data representations.
Overlay0 The data sets are combined by drawing them independently, overlapping each others.
Percentage4 The data sets are combined similar to the Stack method, except that the data is scaled so that each stack always summed up to 100. In other words, the region that a data item occupies in a stack represents the percentage of the data item relative to sum of all the data items in the stack.

Arguments

ArgumentDefaultDescription
m(Mandatory)one of the predefined constants representing the data combine method to use.

Return Value

None