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 }}