Skip to content

charton API


charton API / @chart-on/core / index / PaneOptions

Interface: PaneOptions ​

Defined in: packages/core/src/pane.ts:9

Layout of a new pane: its height weight among the panes, and the empty margins above and below the data as fractions of its height. A margin left out is sized by the chart to fit what sits at that edge (see addPane).

Properties ​

marginBottom? ​

optional marginBottom?: number

Defined in: packages/core/src/pane.ts:13


marginTop? ​

optional marginTop?: number

Defined in: packages/core/src/pane.ts:12


stretch ​

stretch: number

Defined in: packages/core/src/pane.ts:11

Relative height weight among panes.