v5.20192.631
|

Palettes Class

These are predefined color palettes for chart Series objects.

To create custom color palettes, supply an array of strings or rgba values.

You can specify palettes for FlexChart and FlexPie controls. For example:

chart.palette = Palettes.light;

The following palettes are pre-defined:

  • standard (default)
  • cocoa
  • coral
  • dark
  • highcontrast
  • light
  • midnight
  • modern
  • organic
  • slate
  • zen
  • cyborg
  • superhero
  • flatly
  • darkly
  • cerulan

Hierarchy

  • Palettes