diff --git a/src/views/kpi/kpiIndex.vue b/src/views/kpi/kpiIndex.vue index 9d08c5e1..c69d3c55 100644 --- a/src/views/kpi/kpiIndex.vue +++ b/src/views/kpi/kpiIndex.vue @@ -694,7 +694,8 @@ export default { data: this.v3, yAxisIndex: 1, smooth: true, - barWidth: 50, + barWidth: 45, + barGap: '0%', // 设置柱子之间的间隔 label: { show: true, // 显示标签 position: 'top', // 标签位置在柱形顶部 @@ -706,7 +707,8 @@ export default { data: this.v4, yAxisIndex: 1, smooth: true, - barWidth: 50, + barWidth: 45, + barGap: '0%', // 设置柱子之间的间隔 label: { show: true, // 显示标签 position: 'top', // 标签位置在柱形顶部