desktop/src/components/TodayHourly.svelte
Comment 1, line 34
desktop/src/components/TodayHourly.svelte:34
/** Today query, first=last=today; source for grouped chart_series. */Comment 2, line 36
desktop/src/components/TodayHourly.svelte:36
/** Parent-provided dark theme; changes redraw axes/legend text and separators. */Comment 3, line 50
desktop/src/components/TodayHourly.svelte:50
/** * Incremental rendering for 2026-09-26 feedback: unchanged structure uses * setOption merging; changed structure uses notMerge rebuilds. * Data refresh avoids visible flicker. */Comment 4, line 67
desktop/src/components/TodayHourly.svelte:67
/** Theme colors for global text inherited by axes/legend, and y-axis separators. */Comment 5, line 73
desktop/src/components/TodayHourly.svelte:73
/** Hours with data: call_count>0 or nonnull total_tokens; do not zero-fill absent hours. */Comment 6, line 81
desktop/src/components/TodayHourly.svelte:81
// Fetch chart_series when dimension/query changes; show errors on failure.Comment 7, line 181
desktop/src/components/TodayHourly.svelte:181
/** Every grouped view uses the same hourly token metric, including one point. */Comment 8, line 267
desktop/src/components/TodayHourly.svelte:267
// Tooltip hideDelay=0: ECharts 6 hideTip also uses hideLater; hide on canvas/window leave or blur.Comment 9, line 273
desktop/src/components/TodayHourly.svelte:273
// Resize canvas after panel/grid size changes, including restoration from display:none.Comment 10, line 286
desktop/src/components/TodayHourly.svelte:286
// Redraw when data/grouping/language/theme changes.Comment 11, line 312
desktop/src/components/TodayHourly.svelte:312
/* Top grouping selector uses segmented buttons; see DimensionPicker. */