Modified all graphs to eliminate the errors and use eCharts

This commit is contained in:
Pablo Revilla
2025-05-21 12:13:51 -07:00
parent 32437584a9
commit 85427fd2a8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
<!-- Tabs -->
<ul class="nav nav-tabs" role="tablist">
{% for name in [
"power", "chutil", "temperature", "humidity", "pressure",
"power", "utilization", "temperature", "humidity", "pressure",
"iaq", "wind_speed", "wind_direction", "power_metrics", "neighbors"
] %}
<li class="nav-item" role="presentation">
@@ -24,7 +24,7 @@
<!-- Tab content -->
<div class="tab-content mt-3" style="height: 40vh;">
{% for name in [
"power", "chutil", "temperature", "humidity", "pressure",
"power", "utilization", "temperature", "humidity", "pressure",
"iaq", "wind_speed", "wind_direction", "power_metrics", "neighbors"
] %}
<div class="tab-pane fade {% if loop.first %}show active{% endif %}" id="{{name}}Tab" role="tabpanel" style="height: 100%;">
+1 -1
View File
@@ -414,7 +414,7 @@ async def graph_power_json(request):
],
)
@routes.get("/graph/chutil_json/{node_id}")
@routes.get("/graph/utilization_json/{node_id}")
async def graph_chutil_json(request):
return await graph_telemetry_json(
int(request.match_info['node_id']),