towerops/lib/towerops_web/live/graph_live
Graham McIntire dc9400e6ae
fix: adjust graph x-axis range based on selected time period
- Pass range parameter to SensorChart hook via data-range attribute
- Calculate x-axis min/max dynamically based on selected range (1h, 6h, 12h, 24h, 7d, 30d)
- Show date + time on x-axis labels for ranges > 24 hours
- Show time only for ranges <= 24 hours
- Fixes issue where 7d and 30d graphs showed incorrect time range
2026-01-18 12:56:44 -06:00
..
show.ex Change 'Ping Latency' to 'ICMP Latency' throughout codebase 2026-01-17 17:13:02 -06:00
show.html.heex fix: adjust graph x-axis range based on selected time period 2026-01-18 12:56:44 -06:00