The Palette plugin allows you to specify a custom color scheme for a chart.
Use the following statement to import the plugin:
import { Palette } from '@devexpress/dx-react-chart';| Name | Type | Default | Description |
|---|---|---|---|
| scheme | Array<string> | ['#0070ff', '#d72e3d', '#249d3d', '#ffb90c', '#1698af', '#616a72'] for Bootstrap4; ['#40C4FF', '#FF5252', '#00C853', '#FFEB3B', '#FF4081', '#E040FB'] for Material-UI; | An array of colors. |