Skip to content

desktop/src/components/WeekdayBar.svelte

Comment 1, line 20

desktop/src/components/WeekdayBar.svelte:20

/** Parent-provided dark theme; changes redraw axis labels and separators. */

Comment 2, line 44

desktop/src/components/WeekdayBar.svelte:44

/** Theme colors for inherited axis text and y-axis separators. */

Comment 3, line 48

desktop/src/components/WeekdayBar.svelte:48

// Monday=0 through Sunday=6; backend uses 1–7. Intl generates localized weekday names.

Comment 4, line 49

desktop/src/components/WeekdayBar.svelte:49

// 2024-01-01 is Monday, the reference date for weekday names.

Comment 5, line 104

desktop/src/components/WeekdayBar.svelte:104

// Use hideDelay=0: ECharts 6 hideTip also uses hideLater. Hide on canvas/window exit or blur.

Comment 6, line 109

desktop/src/components/WeekdayBar.svelte:109

// Resize the canvas when panel visibility or grid changes, including recovery from display:none.