fix:修复缩放异常
This commit is contained in:
@@ -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%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user