Skip to main content

getChartOverlayColorPalette

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/charts/theming/chartOverlayColorPalette / getChartOverlayColorPalette

Function: getChartOverlayColorPalette()

getChartOverlayColorPalette(inputArray: string[]): string[]

Defined in: utils/charts/theming/chartOverlayColorPalette.js:12

Returns a shuffled and filtered color palette with good visual separation.

Parameters​

inputArray​

string[]

Array of color hex strings.

Returns​

string[]

Filtered and shuffled palette.