View as Markdown

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.

GanttZoomLevel members (3)
NameSignatureDescription
topoptionalreadonly top?: GanttTier | null;
bottomreadonly bottom: GanttTier;
unitWidthoptionalreadonly unitWidth?: number;