Commit 9a2790f
committed
ux(cm): dynamic Y-axis scaling based on actual latency data
Replace hardcoded yMax=200ms with dynamic scaling that adapts to the
actual data range. Snaps to zone boundaries with ~20-30% headroom so
the graph uses its full height instead of showing mostly whitespace.1 parent 6f64123 commit 9a2790f
File tree
1 file changed
+13
-1
lines changed- app/modules/connection_monitor/static/js
1 file changed
+13
-1
lines changedLines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
238 | 250 | | |
239 | 251 | | |
240 | 252 | | |
241 | 253 | | |
242 | 254 | | |
243 | 255 | | |
244 | | - | |
| 256 | + | |
245 | 257 | | |
246 | 258 | | |
247 | 259 | | |
| |||
0 commit comments