Skip to content

charton API


charton API / @chart-on/ui / index / ShellSlots

Interface: ShellSlots ​

Defined in: ui/src/slots.ts:11

Places in the shell where apps mount their own content. Each is rendered once when the shell is created and removed by destroy().

Properties ​

bottomBarEnd? ​

optional bottomBarEnd?: ShellSlotContent

Defined in: ui/src/slots.ts:19

After the scale toggles in the bottom bar. Needs the bottom bar.


bottomBarStart? ​

optional bottomBarStart?: ShellSlotContent

Defined in: ui/src/slots.ts:17

Before the range presets in the bottom bar. Needs the bottom bar.


empty? ​

optional empty?: ShellSlotContent

Defined in: ui/src/slots.ts:23

Shown over the chart instead of the chart's "No data" text while the status is no-data.


loading? ​

optional loading?: ShellSlotContent

Defined in: ui/src/slots.ts:21

Shown over the chart instead of the chart's "Loading…" text while the status is loading.


railBottom? ​

optional railBottom?: ShellSlotContent

Defined in: ui/src/slots.ts:15

Below the tool rail's buttons. Needs the rail; hides with it.


railTop? ​

optional railTop?: ShellSlotContent

Defined in: ui/src/slots.ts:13

Above the tool rail's buttons. Needs the rail; hides with it.