TimelineKit API
    Preparing search index...

    Class BaseTimelineEngineAbstract

    Base class for timeline engine implementations (GanttChart, ResourceScheduler).

    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 canRedo$(): BehaviorSubject<boolean>

      Whether redo is available (observable).

      Returns BehaviorSubject<boolean>

    • get canUndo$(): BehaviorSubject<boolean>

      Whether undo is available (observable).

      Returns BehaviorSubject<boolean>

    Methods

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

      Parameters

      • text: string

      Returns void

    • Scroll the timeline to a specific date.

      Parameters

      • date: Date

      Returns void

    • Zoom in one level. Returns false if already at maximum zoom.

      Returns boolean

    • Zoom out one level. Returns false if already at minimum zoom.

      Returns boolean