Commit 2bff2f4
HourlyChart: categorical hour labels + every-hour ticks
The unified-hover header read the raw x value (`8`) instead of the
`ticktext` mapping, so hovering at 8 am showed "8" rather than
"8am". Switch to a categorical x axis whose values are already the
"12am"…"11pm" labels, and tick every hour (rotated -45° on narrow
screens to fit). Header now shows "8am" naturally.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ade7c99 commit 2bff2f4
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| |||
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | | - | |
115 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
0 commit comments