ChartDirector 5.1 (PHP Edition)

BaseChart.setBackground


Usage

setBackground(color [, edgeColor [, raisedEffect ]])

Description

Sets the background color, border color and 3D border effect of the chart.

Arguments

ArgumentDefaultDescription
color(Mandatory)The background color of the chart.
edgeColorTransparentThe border 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

None