Skip to content

charton API


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

Interface: ShellFeatures ​

Defined in: ui/src/features.ts:5

Shell parts that can be shown or hidden at runtime. A hidden part keeps its state and listeners. Parts the shell was created without stay absent.

Properties ​

bottomBar ​

bottomBar: boolean

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

Bottom bar with range presets and scale toggles.


commandPalette ​

commandPalette: boolean

Defined in: ui/src/features.ts:20

The command palette and its shortcut (Mod+K by default), while the shell has one (its commandPalette option). On by default.


rail ​

rail: boolean

Defined in: ui/src/features.ts:9

Left drawing-tool rail.


railSheet ​

railSheet: boolean

Defined in: ui/src/features.ts:18

Compact layout below the shell's railBreakpoint: the rail opens as a bottom sheet and the range presets collapse into a menu. Off by default.


toolbar ​

toolbar: boolean

Defined in: ui/src/features.ts:7

Top toolbar.


tooltip ​

tooltip: boolean

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

Floating box beside the pointer with the hovered bar's values (see createPointerTooltip). Off by default.