Spaces:
Sleeping
Sleeping
Update online.html
Browse files- online.html +10 -10
online.html
CHANGED
|
@@ -527,7 +527,7 @@ document.getElementById("but_sliv").addEventListener("click", function() {
|
|
| 527 |
y: dataHistory.ec,
|
| 528 |
name: "EC",
|
| 529 |
mode: "lines+markers",
|
| 530 |
-
line: { color: "
|
| 531 |
marker: { size: 6 },
|
| 532 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 533 |
hovertemplate: "<b>EC: %{y}</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
|
@@ -539,10 +539,10 @@ document.getElementById("but_sliv").addEventListener("click", function() {
|
|
| 539 |
y: dataHistory.ec_A_eep,
|
| 540 |
name: "Насос A",
|
| 541 |
mode: "lines+markers",
|
| 542 |
-
line: { color: "
|
| 543 |
marker: { size: 6 },
|
| 544 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 545 |
-
hovertemplate: "<b>Насос A: %{y}
|
| 546 |
hoverlabel: { bgcolor: "#00CED1", font: { color: "white" } },
|
| 547 |
visible: "legendonly"
|
| 548 |
},
|
|
@@ -551,10 +551,10 @@ document.getElementById("but_sliv").addEventListener("click", function() {
|
|
| 551 |
y: dataHistory.ec_B_eep,
|
| 552 |
name: "Насос B",
|
| 553 |
mode: "lines+markers",
|
| 554 |
-
line: { color: "
|
| 555 |
marker: { size: 6 },
|
| 556 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 557 |
-
hovertemplate: "<b>Насос B: %{y}
|
| 558 |
hoverlabel: { bgcolor: "#FF1493", font: { color: "white" } },
|
| 559 |
visible: "legendonly"
|
| 560 |
},
|
|
@@ -563,10 +563,10 @@ document.getElementById("but_sliv").addEventListener("click", function() {
|
|
| 563 |
y: dataHistory.ec_C_eep,
|
| 564 |
name: "Насос C",
|
| 565 |
mode: "lines+markers",
|
| 566 |
-
line: { color: "
|
| 567 |
marker: { size: 6 },
|
| 568 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 569 |
-
hovertemplate: "<b>Насос C: %{y}
|
| 570 |
hoverlabel: { bgcolor: "#FFD700", font: { color: "white" } },
|
| 571 |
visible: "legendonly"
|
| 572 |
},
|
|
@@ -575,7 +575,7 @@ document.getElementById("but_sliv").addEventListener("click", function() {
|
|
| 575 |
y: dataHistory.tS,
|
| 576 |
name: "Т. раствора",
|
| 577 |
mode: "lines+markers",
|
| 578 |
-
line: { color: "
|
| 579 |
marker: { size: 6 },
|
| 580 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 581 |
hovertemplate: "<b>Т. раствора: %{y}</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
|
@@ -587,7 +587,7 @@ document.getElementById("but_sliv").addEventListener("click", function() {
|
|
| 587 |
y: dataHistory.tA,
|
| 588 |
name: "Т. воздуха",
|
| 589 |
mode: "lines+markers",
|
| 590 |
-
line: { color: "
|
| 591 |
marker: { size: 6 },
|
| 592 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 593 |
hovertemplate: "<b>Т. воздуха: %{y}</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
|
@@ -611,7 +611,7 @@ document.getElementById("but_sliv").addEventListener("click", function() {
|
|
| 611 |
y: dataHistory.sVen,
|
| 612 |
name: "Об. вентилятора",
|
| 613 |
mode: "lines+markers",
|
| 614 |
-
line: { color: "
|
| 615 |
marker: { size: 6 },
|
| 616 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 617 |
hovertemplate: "<b>Об. вентилятора: %{y}</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
|
|
|
| 527 |
y: dataHistory.ec,
|
| 528 |
name: "EC",
|
| 529 |
mode: "lines+markers",
|
| 530 |
+
line: { color: "blue" },
|
| 531 |
marker: { size: 6 },
|
| 532 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 533 |
hovertemplate: "<b>EC: %{y}</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
|
|
|
| 539 |
y: dataHistory.ec_A_eep,
|
| 540 |
name: "Насос A",
|
| 541 |
mode: "lines+markers",
|
| 542 |
+
line: { color: "green" },
|
| 543 |
marker: { size: 6 },
|
| 544 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 545 |
+
hovertemplate: "<b>Насос A: %{y} сек.</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
| 546 |
hoverlabel: { bgcolor: "#00CED1", font: { color: "white" } },
|
| 547 |
visible: "legendonly"
|
| 548 |
},
|
|
|
|
| 551 |
y: dataHistory.ec_B_eep,
|
| 552 |
name: "Насос B",
|
| 553 |
mode: "lines+markers",
|
| 554 |
+
line: { color: "brown" },
|
| 555 |
marker: { size: 6 },
|
| 556 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 557 |
+
hovertemplate: "<b>Насос B: %{y} сек.</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
| 558 |
hoverlabel: { bgcolor: "#FF1493", font: { color: "white" } },
|
| 559 |
visible: "legendonly"
|
| 560 |
},
|
|
|
|
| 563 |
y: dataHistory.ec_C_eep,
|
| 564 |
name: "Насос C",
|
| 565 |
mode: "lines+markers",
|
| 566 |
+
line: { color: "orange" },
|
| 567 |
marker: { size: 6 },
|
| 568 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 569 |
+
hovertemplate: "<b>Насос C: %{y} сек.</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
| 570 |
hoverlabel: { bgcolor: "#FFD700", font: { color: "white" } },
|
| 571 |
visible: "legendonly"
|
| 572 |
},
|
|
|
|
| 575 |
y: dataHistory.tS,
|
| 576 |
name: "Т. раствора",
|
| 577 |
mode: "lines+markers",
|
| 578 |
+
line: { color: "purple" },
|
| 579 |
marker: { size: 6 },
|
| 580 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 581 |
hovertemplate: "<b>Т. раствора: %{y}</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
|
|
|
| 587 |
y: dataHistory.tA,
|
| 588 |
name: "Т. воздуха",
|
| 589 |
mode: "lines+markers",
|
| 590 |
+
line: { color: "purple" },
|
| 591 |
marker: { size: 6 },
|
| 592 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 593 |
hovertemplate: "<b>Т. воздуха: %{y}</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|
|
|
|
| 611 |
y: dataHistory.sVen,
|
| 612 |
name: "Об. вентилятора",
|
| 613 |
mode: "lines+markers",
|
| 614 |
+
line: { color: "purple" },
|
| 615 |
marker: { size: 6 },
|
| 616 |
customdata: dataHistory.dates.map((date, i) => [date, dataHistory.times[i]]),
|
| 617 |
hovertemplate: "<b>Об. вентилятора: %{y}</b><br>Дата: %{customdata[0]}<br>Время: %{customdata[1]}<extra></extra>",
|