Mobile layout
Touch gestures, mobile-first sizing, and the FAB pattern — how EliteChart adapts below 500px.
EliteChart is touch-first. Pinch-zoom, pan, long-press context menu, and momentum scrolling all work below 500 px without any opt-in.
Quick example
How it works
Below --mobile-breakpoint (default 500 px), EliteChart switches
the right sidebar from a docked rail to a bottom-sheet pattern,
collapses the bottom drawer to a tab strip, and swaps the right-click
context menu for long-press.
Touch gestures map to canvas actions exactly as on desktop:
| Gesture | Action |
|---|---|
| One-finger drag | Pan |
| Pinch | Zoom both axes |
| Two-finger drag (vertical) | Pan price axis |
| Long-press | Context menu |
Variations
Force the desktop layout on a tablet
Hide the toolbar on mobile
API
| Token | Default | Role |
|---|---|---|
--mobile-breakpoint | 500px | layout-mode threshold |
--touch-tap-radius | 24px | hit-area enlargement on touch |