towerops/lib/towerops_web/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
..
admin fix: pass timezone attribute to all layout components 2026-01-18 12:49:01 -06:00
agent_live fix: pass timezone attribute to all layout components 2026-01-18 12:49:01 -06:00
alert_live fix: pass timezone attribute to all layout components 2026-01-18 12:49:01 -06:00
device_live fix: pass timezone attribute to all layout components 2026-01-18 12:49:01 -06:00
graph_live fix: adjust graph x-axis range based on selected time period 2026-01-18 12:56:44 -06:00
org more renames 2026-01-17 15:13:56 -06:00
org_live fix: pass timezone attribute to all layout components 2026-01-18 12:49:01 -06:00
site_live fix: pass timezone attribute to all layout components 2026-01-18 12:49:01 -06:00
dashboard_live.ex rename equipment to device 2026-01-17 14:48:46 -06:00
dashboard_live.html.heex fix: pass timezone attribute to all layout components 2026-01-18 12:49:01 -06:00
mobile_qr_live.ex fix: pass timezone attribute to all layout components 2026-01-18 12:49:01 -06:00
user_settings_live.ex fix: pass timezone attribute to all layout components 2026-01-18 12:49:01 -06:00