ChartDirector 5.1 (PHP Edition)

DrawArea.setColorTable


Usage

setColorTable(colors, offset)

Description

Change the colors in the palette starting with the specified offset position.

See Color Specification on how colors are represented in ChartDirector.

Arguments

ArgumentDefaultDescription
colors(Mandatory)An array of colors to replace the colors in the palette.
offset(Mandatory)The position in the palette to start the replacement.

Return Value

None