diff --git a/web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js b/web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js index c03ce98f..860bf01c 100644 --- a/web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js +++ b/web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js @@ -56,7 +56,7 @@ const LeftCenter = (props) => { if (!s.data[i] && s.data[i] != 0) { s.data[i] = undefined } - } + } } setChartData({ @@ -99,12 +99,18 @@ const LeftCenter = (props) => { boundaryGap: false, axisTick: { show: false + }, + axisLabel: { + color: "#fff" } }, yAxis: { type: 'value', splitLine: { show: false + }, + axisLabel: { + color: "#fff" } }, tooltip: { diff --git a/web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js b/web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js index 52dc2f9d..dc35a319 100644 --- a/web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js +++ b/web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js @@ -84,13 +84,23 @@ const RightCenter = (props) => { data: fuckoff ? data.map(d => d.unit) : unitList, axisTick: { show: false + }, + axisLabel: { + color: "#fff" } }, yAxis: { type: 'value', splitLine: { show: false - } + }, + axisLabel: { + color: "#fff" + }, + min: function (value) { + return value.min - 20; + }, + scale: true }, tooltip: { trigger: "axis"