графики расхода

This commit is contained in:
Dmitry Borisenko
2022-09-28 17:26:33 +02:00
parent 84dfcd10d3
commit b3b4cbeb10
5 changed files with 20 additions and 12 deletions

View File

@@ -42,7 +42,7 @@
//****************************************************variable section**********************************************************/
//******************************************************************************************************************************/
let myip = document.location.hostname;
if (devMode) myip = "192.168.88.248";
if (devMode) myip = "192.168.88.241";
//Flags
let firstDevListRequest = true;
@@ -769,7 +769,8 @@
widget.topic = settingsJson.root + "/" + config.id;
if (setWidget !== "nil") layout.push(widget);
if (widget.widget === "chart") {
//создаем графики с окнами ввода
if (widget.widget === "chart" && widget.type !== "bar") {
let input = getInput();
input.page = config.page;
input.topic = settingsJson.root + "/" + config.id + "-date";