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