ChartDirector 5.1 (PHP Edition)

PieChart.PieChart


Usage

new PieChart(width, height [, bgColor [, edgeColor [, raisedEffect ]]])

Description

Creates a new PieChart object.

Arguments

ArgumentDefaultDescription
width(Mandatory)The width of the chart in pixels.
height(Mandatory)The height of the chart in pixels.
bgColorBackgroundColorThe background color of the chart.
edgeColorTransparentThe edge color of the chart.
raisedEffect0The 3D border width. For positive values, the border will appear raised. For negative values, the border will appear depressed. A zero value means the border will appear flat.

Return Value

The PieChart object created.