This commit is contained in:
@zuopngfei 2025-07-24 13:36:17 +08:00
commit d2257bdf30
2 changed files with 5 additions and 5 deletions

View File

@ -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',

View File

@ -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;