ChartDirector 5.1 (PHP Edition)

PolarChart.addAreaLayer


Usage

addAreaLayer(data [, color [, name ]])

Description

Adds a polar area layer to the polar chart.

Arguments

ArgumentDefaultDescription
data(Mandatory)An array of numbers representing the data points in the layer.
color-1The color to draw the area. -1 means that the color is automatically selected from the palette.
name""The name of the layer. The name will be used in the legend box, if one is available. An empty string means the layer has no name.

Return Value

A PolarAreaLayer object representing the chart layer created.