UseColorPalette

Syntax graph.UseColorPalette(paletteName)

Description Instructs PopChart Server to import a color palette from the config/PCColors.xml file. The graph's data series will be colored according to this palette.

For more information about color palettes and the PCColors.xml file, refer to Chapter 11, "Color Themes."

Parameters Graph.UseColorPalette accepts the following parameters.

paletteName

String

The name of a color palette specified in the PCColors.xml file.