diff --git a/src/components/Echart/LineChart.vue b/src/components/Echart/LineChart.vue index fefb873..869036b 100644 --- a/src/components/Echart/LineChart.vue +++ b/src/components/Echart/LineChart.vue @@ -225,7 +225,7 @@ xAxis: [ { type: props.xAxisType, - boundaryGap: false, + boundaryGap: true, axisLine: { lineStyle: { color: props.axisLineColor, // 轴线的颜色 @@ -235,6 +235,11 @@ color: props.fontColor, // X轴名称颜色 fontSize: 14, }, + + axisTick: { + show: true, + alignWithLabel: true, + }, // splitLine: { // show: false, // lineStyle: { diff --git a/src/components/Echart/LineChart.vue b/src/components/Echart/LineChart.vue index fefb873..869036b 100644 --- a/src/components/Echart/LineChart.vue +++ b/src/components/Echart/LineChart.vue @@ -225,7 +225,7 @@ xAxis: [ { type: props.xAxisType, - boundaryGap: false, + boundaryGap: true, axisLine: { lineStyle: { color: props.axisLineColor, // 轴线的颜色 @@ -235,6 +235,11 @@ color: props.fontColor, // X轴名称颜色 fontSize: 14, }, + + axisTick: { + show: true, + alignWithLabel: true, + }, // splitLine: { // show: false, // lineStyle: { diff --git a/src/components/map/infoWindow.vue b/src/components/map/infoWindow.vue index 1df9061..f40a204 100644 --- a/src/components/map/infoWindow.vue +++ b/src/components/map/infoWindow.vue @@ -34,10 +34,13 @@ 节点编号 : {{ info?.busId }}
- 负荷有功功率 : {{ info?.pd }} 负荷无功功率 : {{ info?.qd }} + 负荷有功功率 : {{ info?.pd }} MW 负荷无功功率 : {{ info?.qd }} MW
- 节点碳势 : {{ info?.en }} 节点负荷碳流率 : {{ info?.flowRate }} + 节点碳势 : {{ info?.en }} gCO2/kWh 节点负荷碳流率 : {{ info?.flowRate }} kgCO2/h +
+
+ 采集时间 : {{ info?.colTime }}