TimelineKit API
    Preparing search index...

    Class GanttChartContext

    Internal shared state for the Gantt chart engine, sheet, and chart components.

    Implements

    • BaseEngineContext
    Index

    Constructors

    Properties

    allowTaskSplitting$: BehaviorSubject<boolean> = ...

    Whether tasks can be split into multiple parts via mouse interaction.

    autoScrolling: boolean = false

    Whether the chart is currently auto-scrolling during a drag operation.

    calendar$: BehaviorSubject<WorkingCalendar>

    Working calendar observable.

    dividerPositionChanged$: Subject<void> = ...

    Emitted when the sheet/chart divider position changes.

    dividerResizing$: BehaviorSubject<boolean> = ...

    Whether the divider is currently being resized.

    chartBackgroundRedrawn$: Subject<void>

    Emitted after the chart background is redrawn.

    chartContextMenu$: Subject<ChartContextMenuArgs> = ...

    Emitted on right-click on the chart area.

    chartCursor$: Subject<Cursor>

    Emitted when the chart cursor style should change.

    chartMouseWheel$: Subject<WheelEvent>

    Emitted on mouse wheel over the chart area.

    chartRedrawn$: Subject<void>

    Emitted after the chart content is redrawn.

    chartTaskHover$: BehaviorSubject<Task | null>

    Task currently hovered in the chart, or null.

    list: TaskList

    Task list containing all tasks and links.

    locale$: BehaviorSubject<TimelineKitLocale>

    Current locale observable.

    markers$: BehaviorSubject<Marker[]> = ...

    Timeline markers (vertical indicator lines).

    projectTimeline$: BehaviorSubject<DateRange>

    Project start/end date bounds observable.

    resources: ResourceList

    Resource list containing all available resources.

    Chart settings (theme, locale, currency).

    sheetRowMouseOver$: BehaviorSubject<TaskEventArgs | null> = ...

    Emitted when the mouse hovers over a sheet row.

    showBaseline$: BehaviorSubject<boolean> = ...

    Whether baseline bars are visible.

    showCriticalPath$: BehaviorSubject<boolean> = ...

    Whether critical path highlighting is enabled.

    showGridLines$: BehaviorSubject<boolean> = ...

    Whether grid lines are visible.

    showTodayLine$: BehaviorSubject<boolean> = ...

    Whether the today indicator line is visible.

    Table context managing rows, selection, and cell editing.

    taskContextMenu$: Subject<TaskContextMenuArgs> = ...

    Emitted on right-click on a task bar.

    taskDblClick$: Subject<TaskEventArgs> = ...

    Emitted when a task bar is double-clicked.

    theme$: BehaviorSubject<GanttChartTheme>

    Current theme observable.

    timeline: ChartTimeline

    Timeline zoom and visible range manager.

    Accessors

    • get canEdit$(): BehaviorSubject<boolean>

      Whether editing is enabled (observable).

      Returns BehaviorSubject<boolean>

    Methods

    • Calculate the bottom Y coordinate of visible content in the chart canvas.

      Parameters

      • canvasHeight: number

      Returns number