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?
optionalbottomBarEnd?:ShellSlotContent
Defined in: ui/src/slots.ts:19
After the scale toggles in the bottom bar. Needs the bottom bar.
bottomBarStart?
optionalbottomBarStart?:ShellSlotContent
Defined in: ui/src/slots.ts:17
Before the range presets in the bottom bar. Needs the bottom bar.
empty?
optionalempty?: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?
optionalloading?: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?
optionalrailBottom?:ShellSlotContent
Defined in: ui/src/slots.ts:15
Below the tool rail's buttons. Needs the rail; hides with it.
railTop?
optionalrailTop?:ShellSlotContent
Defined in: ui/src/slots.ts:13
Above the tool rail's buttons. Needs the rail; hides with it.