MAIDR Documentation - v4.4.0
    Preparing search index...

    Interface GanttPoint

    One interval of a gantt chart, timeline or swimlane diagram.

    The two coordinates are both positions on the same axis rather than a position and a magnitude, which is what makes this a shape of its own. A bar has one number and a baseline; an interval has two numbers and no baseline, and its length is a difference the reader has to be told rather than a height they can hear.

    interface GanttPoint {
        x: string | number;
        start: number;
        end: number;
        label?: string;
    }
    Index

    Properties

    Properties

    x: string | number

    Which lane the interval belongs to -- a task, a resource, a phase.

    start: number

    Where the interval begins.

    end: number

    Where the interval ends.

    label?: string

    What this interval is called, when the lane is not already its name.

    A lane commonly holds several intervals -- a resource booked twice, a phase that pauses and resumes -- and without this they are announced by position alone. Omit it when the lane names the work.