towerops/assets/js
Graham McIntie cb9becae4e fix: traffic graph invisible — scale dominated by capacity lines (#140)
## Problem
On backhaul devices, the Y axis auto-scale includes capacity reference line values (e.g. 100 Mbps) alongside actual traffic (e.g. 5 Mbps). This makes the traffic data appear as a flat line near zero — effectively invisible.

## Fix
Exclude datasets with `Capacity` prefix from the max-value calculation used for symmetric Y axis scaling. The capacity dashed lines still render and clip at the chart edges as a visual ceiling reference.

## 1-line change
```js
if (dataset.label?.startsWith("Capacity")) return
```

Reviewed-on: graham/towerops-web#140
2026-03-24 08:50:49 -05:00
..
types live device polling 2026-02-01 13:19:32 -06:00
app.ts fix: traffic graph invisible — scale dominated by capacity lines (#140) 2026-03-24 08:50:49 -05:00
chart_dataset_config.mjs fix/traffic-graph-rendering-and-polarity (#130) 2026-03-23 15:24:44 -05:00
cookie_consent.js fix user session controller test 2026-02-03 13:42:24 -06:00
device_list_reorder.ts memory leak fixing 2026-01-31 10:40:19 -06:00