ChartDirector 5.1 (PHP Edition)

BaseChart.setColor


Usage

setColor(paletteEntry, color)

Description

Change the color at the specified position in the palette.

See Color Specification on how colors are represented in ChartDirector.

Arguments

ArgumentDefaultDescription
paletteEntry(Mandatory)An index to the palette.
color(Mandatory)The color to change to.

Return Value

None