ChartDirector 5.1 (PHP Edition)

BaseChart.setColors2


Usage

setColors2(paletteEntry, colors)

Description

Change the colors in the palette, starting from 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 to start changing the colors.
colors(Mandatory)An array of colors to change to.

Return Value

None