MAIDR Documentation - v4.4.0
    Preparing search index...
    • Generates per-interval CSS selectors for a gantt or xrange series.

      MAIDR's GanttTrace reads its selector list grouped by lane — the flat list is sliced lane by lane — while Highcharts draws the intervals in series.data order, which interleaves lanes freely. Document order therefore says nothing about lane membership, so the adapter stamps data-maidr-task-index="N" onto each rendered interval in the lane-major order MAIDR expects (see stampGanttIndices in adapter.ts) and these selectors address the stamp.

      Stamping also side-steps how XRangeSeries#drawPoint nests its marks: an ordinary task is a <g class="highcharts-point"> wrapping a <rect class="highcharts-point highcharts-partfill-original">, so the point class appears twice per interval, while a gantt milestone is a single <path class="highcharts-point"> with no wrapper. The stamp lands on the one element Highcharts records as the point's graphic in both cases.

      Parameters

      • containerId: string
      • seriesIndex: number
      • taskCount: number

      Returns string[]