ChartDirector Ver 3.1 (PHP Edition Edition)

PolarLayer.setSymbolScale


Usage

setSymbolScale(zData[, scaleType ])

Description

Set the size of the symbol for each data point (for creating bubble charts).

One common usage for this method is to draw circle symbols of different sizes at each data points, creating a bubble chart.

This method supports any valid data symbols. You can create bubble charts with square bubbles, or even custom data symbols.

ChartDirector supports specifying the sizes of the symbols as pixels, or using the same scale at the radial axis or angular axis. The units are specified by using the following pre-defined constants.

ConstantValueDescription
PixelScale0The size is expressed as pixels.
RadialAxisScale2The size is expressed using the radial axis scale.
AngularAxisScale1The size is expressed using the angular axis scale.

Arguments

ArgumentDefaultDescription
zData(Mandatory)The sizes of the symbols, expressed using the unit defined by the scaleType argument.
scaleTypePixelScaleThe unit for zData - must be one of the pre-defined constant PixelScale, RadialAxisScale or AngularAxisScale.

Return Value

None