@splunk/visualization-color-palettes
v27.0.0
Published
Color palette for visualizations
Downloads
3,774
Readme
This is the central package to be consumed by visualization libraries that require color palettes for visualizations
It exposes SCP_CATEGORICAL
and ENTERPRISE_CATEGORICAL
color palettes.
Configuring React Visualization to use the color palette
import { SCP_CATEGORICAL } from '@splunk/visualization-color-palettes';
import Area from '@splunk/react-visualizations/Area';
const areaWithScpPalette = <Area colorPalette={SCP_CATEGORICAL} />;