insightdock::charts::palette_color

Color from the default 12-color Chart.js palette.

Synopsis

Declared in <insightdock/palette.h>
[[visibility]]
Color
palette_color(std::size_t index);

Return Value

RGBA color with 8-bit per channel.

Parameters

Name Description
index Series or slice index (wraps modulo 12).

Created with MrDocs