Skip to content

Documentation / @finchart/core / index / AXIS_LABEL_SPEC

Variable: AXIS_LABEL_SPEC ​

const AXIS_LABEL_SPEC: object

Defined in: packages/core/src/axis/labels.ts:92

The CSS variables an axis label owns. The DOM and canvas paths read the same declarations — the two font variables are the exception, shared with the legend, tooltip, and marker.

Type Declaration ​

color ​

readonly color: object

color.css ​

readonly css: "--chart-label" = "--chart-label"

color.fallback ​

readonly fallback: "#64748b" = "#64748b"

fontFamily ​

readonly fontFamily: object

fontFamily.css ​

readonly css: "--chart-label-font-family" = "--chart-label-font-family"

fontFamily.fallback ​

readonly fallback: "inherit" = "inherit"

fontSize ​

readonly fontSize: object

fontSize.css ​

readonly css: "--chart-label-font-size" = "--chart-label-font-size"

fontSize.fallback ​

readonly fallback: "11px" = "11px"