diff --git a/src/components/barChart.vue b/src/components/barChart.vue index 5e1c04a..2c9ce45 100644 --- a/src/components/barChart.vue +++ b/src/components/barChart.vue @@ -70,7 +70,7 @@ export default { this.chart.setOption({ xAxis: { data: xData, - boundaryGap: false, + boundaryGap: true, axisTick: { show: false } @@ -99,7 +99,7 @@ export default { }, series: [{ data: yData, - type: 'bar' + type: 'bar', }] }) },