Function: resolveAxisStyle()
ts
function resolveAxisStyle(
cfg,
theme,
colorOverride?): ResolvedAxisStyle;Defined in: render/overlay.ts:81
Fold an AxisConfig's optional style fields onto the theme defaults. Colored fields fall back to colorOverride (a secondary y-axis's color) before the theme, so an unstyled colored axis still tints its line/ticks/labels/title. With an empty config this reproduces the pre-styling look exactly.
Parameters
| Parameter | Type |
|---|---|
cfg | AxisConfig |
theme | Theme |
colorOverride? | string |