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 2794652..31b46cc 100644 --- a/productionboard/src/main/resources/static/js/common/echarts.common.js +++ b/productionboard/src/main/resources/static/js/common/echarts.common.js @@ -2201,6 +2201,10 @@ const energyConsumption = (res, ids) => { bottom: '3%', containLabel: true }, + tooltip:{ + trigger :'axis', + formatter:'{a0} {c0}(t)
{a1} {c1}(kw·h)' + }, xAxis: [ { interval: 0, @@ -2211,6 +2215,7 @@ const energyConsumption = (res, ids) => { } } ], + yAxis: [ { type: 'value', @@ -2305,7 +2310,7 @@ const energyConsumption = (res, ids) => { data: yAxisDataTwo, }, { - name: "柱顶部", + name: "", type: "pictorialBar", symbolSize: [20, 6], symbolOffset: [0, -3],