charton API / @chart-on/core / index / resolveLevelColor
Function: resolveLevelColor()
resolveLevelColor(
level,theme):string|undefined
Defined in: packages/core/src/drawing/level-color.ts:60
The color level is drawn in: the shared rule's for 'auto', else its own CSS color or theme color name (see resolveThemeColor). undefined when it has none, so callers fall back to the drawing's color with ??.
Parameters
level
theme
Returns
string | undefined