- 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 |
||
|---|---|---|
| .. | ||
| admin | ||
| agent_live | ||
| alert_live | ||
| device_live | ||
| graph_live | ||
| org | ||
| org_live | ||
| site_live | ||
| dashboard_live.ex | ||
| dashboard_live.html.heex | ||
| mobile_qr_live.ex | ||
| user_settings_live.ex | ||