TimelineKit API
    Preparing search index...

    Class GanttChartEngine

    Central engine for the Gantt chart component managing tasks, resources, rendering, and user interaction.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get autoZoomToFit(): boolean

      Automatically zoom to fit all data when project timeline is set. Default: true.

      Returns boolean

    • set autoZoomToFit(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get canEdit(): boolean

      Whether editing is enabled. When false, all mutations are disabled.

      Returns boolean

    • set canEdit(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get canRedo$(): BehaviorSubject<boolean>

      Whether redo is available (observable).

      Returns BehaviorSubject<boolean>

    • get canUndo$(): BehaviorSubject<boolean>

      Whether undo is available (observable).

      Returns BehaviorSubject<boolean>

    • get showGridLines(): boolean

      Show or hide grid lines on the chart.

      Returns boolean

    • set showGridLines(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get showTodayLine(): boolean

      Show or hide the today indicator line.

      Returns boolean

    • set showTodayLine(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    Methods

    • Load state from a JSON string. Automatically zooms to fit if data is present and autoZoomToFit is enabled.

      Parameters

      • text: string

      Returns void