Skip to content

Documentation / @finchart/core / index / PANE_OPTION_DEFAULTS

Variable: PANE_OPTION_DEFAULTS ​

const PANE_OPTION_DEFAULTS: object

Defined in: packages/core/src/plot/pane-options.ts:45

Default pane options — one set. settleOptions reads this, and react (<ChartPane>) buys "removing a prop reverts to the default" off of it — if the wrapper copied the numbers instead, only the wrapper would go stale when these change.

Type Declaration ​

autoScale ​

readonly autoScale: true = true

flex ​

readonly flex: 1 = 1

invert ​

readonly invert: false = false

minHeight ​

readonly minHeight: 40 = 40

valuePadding ​

readonly valuePadding: 0.1 = 0.1