diff --git a/pages/home/index.js b/pages/home/index.js index 329d235..fd7af37 100644 --- a/pages/home/index.js +++ b/pages/home/index.js @@ -173,7 +173,7 @@ Page({ canvas.setChart(chart); chart.setOption({ title: { text: '', left: 'left', fontSize: 6 }, - grid: { containLabel: true, top: '5%', left: '5%', right: '5%', bottom: '3%' }, + grid: { containLabel: true, top: '5%', left: '5%', right: '7%', bottom: '3%' }, tooltip: { show: true, trigger: 'axis', @@ -242,7 +242,7 @@ Page({ canvas.setChart(chart); chart.setOption({ title: { text: '', left: 'left', fontSize: 6 }, - grid: { containLabel: true, top: '5%', left: '5%', right: '5%', bottom: '3%' }, + grid: { containLabel: true, top: '5%', left: '5%', right: '7%', bottom: '3%' }, tooltip: { show: true, trigger: 'axis', @@ -297,7 +297,7 @@ Page({ canvas.setChart(chart); chart.setOption({ title: { text: '', left: 'left', fontSize: 6 }, - grid: { containLabel: true, top: '5%', left: '5%', right: '5%', bottom: '3%' }, + grid: { containLabel: true, top: '5%', left: '5%', right: '7%', bottom: '3%' }, tooltip: { show: true, trigger: 'axis', @@ -332,7 +332,7 @@ Page({ canvas.setChart(chart); chart.setOption({ title: { text: '', left: 'left', fontSize: 6 }, - grid: { containLabel: true, top: '5%', left: '5%', right: '5%', bottom: '3%' }, + grid: { containLabel: true, top: '5%', left: '5%', right: '7%', bottom: '3%' }, tooltip: { show: true, trigger: 'axis', diff --git a/pages/home/index.less b/pages/home/index.less index 86151ce..5ea6f55 100644 --- a/pages/home/index.less +++ b/pages/home/index.less @@ -240,7 +240,7 @@ padding: 28rpx; margin-bottom: 28rpx; box-shadow: 0rpx 2rpx 20rpx 0rpx rgba(178, 178, 178, 0.05); - + padding-right: 10rpx; .echarts-canvas-container { width: 100%; height: 500rpx;