diff --git a/productionboard/src/main/resources/static/js/common/echarts.common.js b/productionboard/src/main/resources/static/js/common/echarts.common.js index 31b46cc..91c8a58 100644 --- a/productionboard/src/main/resources/static/js/common/echarts.common.js +++ b/productionboard/src/main/resources/static/js/common/echarts.common.js @@ -2203,7 +2203,6 @@ const energyConsumption = (res, ids) => { }, tooltip:{ trigger :'axis', - formatter:'{a0} {c0}(t)
{a1} {c1}(kw·h)' }, xAxis: [ { @@ -2282,7 +2281,7 @@ const energyConsumption = (res, ids) => { }, tooltip: { valueFormatter: function (value) { - return value + ' ml'; + return value + ' t'; } }, barWidth: 20, @@ -2294,7 +2293,7 @@ const energyConsumption = (res, ids) => { yAxisIndex: 1, tooltip: { valueFormatter: function (value) { - return value + ' °C'; + return value + ' kw·h'; } }, lineStyle: { @@ -2322,6 +2321,9 @@ const energyConsumption = (res, ids) => { }, }, }, + tooltip: { + show:false, + }, label: { show: true, position: "top",