src/views/index.vue @@ -225,7 +225,11 @@ height: '100%' // 设置图表容器的高度 } const grid = { show: false left: '2%', // 增大左侧留白 right: '10%', bottom: '15%', top: '10%', containLabel: true // 确保包含标签 } const tooltip = { trigger: 'axis',