new Palette(chart, options)
A Palette class holding the palette colors and lifecycle methods for each chart.
Parameters:
| Name | Type | Description |
|---|---|---|
chart |
Highcharts.Chart | The chart instance |
options |
Highcharts.PaletteOptions | Palette options |
Methods
-
update(options)
-
Update the palette with new options. May be called directly as
chart.palette.update()or indirectly fromchart.update({ palette }).Parameters:
Name Type Description optionsHighcharts.PaletteOptions New palette options