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.
Generates per-interval CSS selectors for a
ganttorxrangeseries.MAIDR's
GanttTracereads its selector list grouped by lane — the flat list is sliced lane by lane — while Highcharts draws the intervals inseries.dataorder, which interleaves lanes freely. Document order therefore says nothing about lane membership, so the adapter stampsdata-maidr-task-index="N"onto each rendered interval in the lane-major order MAIDR expects (seestampGanttIndicesin adapter.ts) and these selectors address the stamp.Stamping also side-steps how
XRangeSeries#drawPointnests 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'sgraphicin both cases.