mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-03-04 23:27:46 +01:00
Modified all graphs to eliminate the errors and use eCharts
This commit is contained in:
@@ -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
@@ -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']),
|
||||
|
||||
Reference in New Issue
Block a user