Update plot_ph_week.html
Browse files- plot_ph_week.html +4 -0
plot_ph_week.html
CHANGED
@@ -72,6 +72,7 @@
|
|
72 |
|
73 |
<script>
|
74 |
const data = {{ data | tojson }}; // Данные из Flask
|
|
|
75 |
// Рендерим графики с использованием Plotly.js
|
76 |
Plotly.newPlot("ph_chart", [{
|
77 |
x: data.dates,
|
@@ -93,6 +94,7 @@
|
|
93 |
hovermode: "closest",
|
94 |
showlegend: false
|
95 |
});
|
|
|
96 |
Plotly.newPlot("ec_chart", [{
|
97 |
x: data.dates,
|
98 |
y: data.ec,
|
@@ -113,6 +115,7 @@
|
|
113 |
hovermode: "closest",
|
114 |
showlegend: false
|
115 |
});
|
|
|
116 |
Plotly.newPlot("pump_chart", [
|
117 |
{
|
118 |
x: data.dates,
|
@@ -173,4 +176,5 @@
|
|
173 |
</script>
|
174 |
|
175 |
</body>
|
|
|
176 |
</html>
|
|
|
72 |
|
73 |
<script>
|
74 |
const data = {{ data | tojson }}; // Данные из Flask
|
75 |
+
|
76 |
// Рендерим графики с использованием Plotly.js
|
77 |
Plotly.newPlot("ph_chart", [{
|
78 |
x: data.dates,
|
|
|
94 |
hovermode: "closest",
|
95 |
showlegend: false
|
96 |
});
|
97 |
+
|
98 |
Plotly.newPlot("ec_chart", [{
|
99 |
x: data.dates,
|
100 |
y: data.ec,
|
|
|
115 |
hovermode: "closest",
|
116 |
showlegend: false
|
117 |
});
|
118 |
+
|
119 |
Plotly.newPlot("pump_chart", [
|
120 |
{
|
121 |
x: data.dates,
|
|
|
176 |
</script>
|
177 |
|
178 |
</body>
|
179 |
+
|
180 |
</html>
|