API reference: @salmonui/gantt
GanttZoomLevelinterface
import type { GanttZoomLevel } from '@salmonui/gantt';interface GanttZoomLevel {
readonly top?: GanttTier | null;
readonly bottom: GanttTier;
readonly unitWidth?: number;
}
A zoom level: two tiers and the bottom-tier cell width.
| Name | Signature | Description |
|---|---|---|
topoptional | readonly top?: GanttTier | null; | |
bottom | readonly bottom: GanttTier; | |
unitWidthoptional | readonly unitWidth?: number; |