fix:修复缩放异常

This commit is contained in:
zhongzm
2024-11-18 10:39:55 +08:00
parent d8d49f23c4
commit 851e8a461e

View File

@@ -286,10 +286,9 @@ const updateChart = () => {
}, },
grid: { grid: {
//网格配置 //网格配置
left: '3%', left: '6%',
right: '4%', right: '6%',
bottom: '3%', bottom: '3%',
top: 100,
containLabel: true, containLabel: true,
}, },
xAxis: { xAxis: {
@@ -643,7 +642,7 @@ const updateChartLegendSelect = (selectedKpiId?: string) => {
} }
.chart-container { .chart-container {
height: calc(100vh - 550px); height: 400px;
width: 100%; width: 100%;
} }