MAIDR JavaScript API
    Preparing search index...
    • Extract GanttData from a column series drawn as a schedule.

      amCharts draws a gantt as floating columns on a category axis of lanes and a date axis of time, which is the pair this reads: one lane per category axis item, one interval per column, and the unit from the date axis' own base interval.

      On a date axis the positions are stated in that unit, and the format extractGanttTimeFormat returns writes each one back as the date it names, so a task reads "Jan 1, 2024 through Jan 31, 2024, length 30 days", as the axis draws it. They were counted from the earliest interval instead, and the same task read "0 through 30", in navigation and in the description, on an axis that draws dates and no day numbers.

      Parameters

      Returns GanttData | null

      The chart's lanes and intervals, or null when no column carries a readable interval.