no message
This commit is contained in:
@@ -109,17 +109,6 @@
|
|||||||
|
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: "datetime",
|
type: "datetime",
|
||||||
plotLines: [{
|
|
||||||
color: "#ef4444",
|
|
||||||
width: 2,
|
|
||||||
value: nowMs,
|
|
||||||
dashStyle: "Dash",
|
|
||||||
label: {
|
|
||||||
text: "JETZT",
|
|
||||||
align: "right",
|
|
||||||
style: { color: "#ef4444", fontWeight: "700" }
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
},
|
},
|
||||||
|
|
||||||
yAxis: {
|
yAxis: {
|
||||||
@@ -177,14 +166,11 @@
|
|||||||
if (!chart) {
|
if (!chart) {
|
||||||
chart = Highcharts.chart("chart", options);
|
chart = Highcharts.chart("chart", options);
|
||||||
} else {
|
} else {
|
||||||
chart.update({
|
|
||||||
xAxis: { plotLines: options.xAxis.plotLines }
|
|
||||||
}, false);
|
|
||||||
|
|
||||||
chart.series[0].setData(forecast, false);
|
chart.series[0].setData(forecast, false);
|
||||||
chart.series[1].setData(actual, false);
|
chart.series[1].setData(actual, false);
|
||||||
chart.redraw();
|
chart.redraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user