Spaces:
Sleeping
Sleeping
Update plot_week.html
Browse files- plot_week.html +4 -4
plot_week.html
CHANGED
|
@@ -74,7 +74,7 @@
|
|
| 74 |
mode: "lines+markers",
|
| 75 |
line: { color: color },
|
| 76 |
hovertemplate: data.days_of_week.map((day, index) =>
|
| 77 |
-
|
| 78 |
)
|
| 79 |
}], {
|
| 80 |
title: title,
|
|
@@ -101,7 +101,7 @@
|
|
| 101 |
mode: "lines+markers",
|
| 102 |
line: { color: "green" },
|
| 103 |
hovertemplate: data.days_of_week.map((day, index) =>
|
| 104 |
-
|
| 105 |
)
|
| 106 |
},
|
| 107 |
{
|
|
@@ -111,7 +111,7 @@
|
|
| 111 |
mode: "lines+markers",
|
| 112 |
line: { color: "brown" },
|
| 113 |
hovertemplate: data.days_of_week.map((day, index) =>
|
| 114 |
-
|
| 115 |
)
|
| 116 |
},
|
| 117 |
{
|
|
@@ -121,7 +121,7 @@
|
|
| 121 |
mode: "lines+markers",
|
| 122 |
line: { color: "orange" },
|
| 123 |
hovertemplate: data.days_of_week.map((day, index) =>
|
| 124 |
-
|
| 125 |
)
|
| 126 |
}
|
| 127 |
], {
|
|
|
|
| 74 |
mode: "lines+markers",
|
| 75 |
line: { color: color },
|
| 76 |
hovertemplate: data.days_of_week.map((day, index) =>
|
| 77 |
+
`День: ${day}<br>${yLabel}: %{y}<br>Дата: ${data.dates[index]}`
|
| 78 |
)
|
| 79 |
}], {
|
| 80 |
title: title,
|
|
|
|
| 101 |
mode: "lines+markers",
|
| 102 |
line: { color: "green" },
|
| 103 |
hovertemplate: data.days_of_week.map((day, index) =>
|
| 104 |
+
`День: ${day}<br>Насос A: %{y} сек.<br>Дата: ${data.dates[index]}`
|
| 105 |
)
|
| 106 |
},
|
| 107 |
{
|
|
|
|
| 111 |
mode: "lines+markers",
|
| 112 |
line: { color: "brown" },
|
| 113 |
hovertemplate: data.days_of_week.map((day, index) =>
|
| 114 |
+
`День: ${day}<br>Насос B: %{y} сек.<br>Дата: ${data.dates[index]}`
|
| 115 |
)
|
| 116 |
},
|
| 117 |
{
|
|
|
|
| 121 |
mode: "lines+markers",
|
| 122 |
line: { color: "orange" },
|
| 123 |
hovertemplate: data.days_of_week.map((day, index) =>
|
| 124 |
+
`День: ${day}<br>Насос C: %{y} сек.<br>Дата: ${data.dates[index]}`
|
| 125 |
)
|
| 126 |
}
|
| 127 |
], {
|