File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -366,6 +366,7 @@ Field shapes:
366366| ` bands[].label ` | yes | Header text for the band (白班 / 夜班). |
367367| ` bands[].start ` / ` bands[].end ` | yes | ` 'HH:mm' ` . When ` end <= start ` the band crosses midnight. Bands must tile the 24h day from ` dayStart ` . |
368368| ` bands[].color ` | no | Any CSS color. Tints that band's column; ** omit for no tint** . |
369+ | ` showMidnight ` | no | Draw the dashed calendar-midnight cue inside cross-midnight bands. Default ` true ` ; set ` false ` to hide it. |
369370
370371Behavior:
371372
@@ -378,7 +379,8 @@ Behavior:
378379- ** Drag-snaps to band boundaries** (the band duration, e.g. 12h) instead of
379380 whole days.
380381- ** Calendar-midnight cue.** A subtle dashed vertical line marks local 0:00
381- * inside* a cross-midnight band — the 排班日 cell itself stays unbroken.
382+ * inside* a cross-midnight band — the 排班日 cell itself stays unbroken. Set
383+ ` showMidnight: false ` to turn it off.
382384- ** Default off = zero regression.** Omit ` timeSegments ` and the gantt behaves
383385 exactly as before. Tints render only for bands that declare ` color ` .
384386
You can’t perform that action at this time.
0 commit comments