Skip to content

Documentation / @ripl/vue-charts / BASE_CHART_OPTION_KEYS

Variable: BASE_CHART_OPTION_KEYS ​

const BASE_CHART_OPTION_KEYS: readonly ["animation", "annotations", "autoRender", "axis", "crosshair", "description", "grid", "legend", "navigator", "overview", "padding", "theme", "title", "tooltip"]

Defined in: vue-charts/src/core/props.ts:8

The options every chart accepts, whatever its type.

The cartesian furniture — axis, grid, crosshair, navigator, overview, annotations — is declared here rather than per chart so a chart that grows one later needs no change on this side. A chart that has no use for an option ignores it, and each component's prop types stay exact.