修改驾驶舱zoom缩放问题

This commit is contained in:
guanj
2025-12-04 09:37:38 +08:00
parent 5db43cd4b1
commit b8ee530557
3 changed files with 16 additions and 13 deletions

View File

@@ -21,7 +21,7 @@
:options="echartList"
:style="{
width: prop.width,
height: `calc(${prop.height} / 2 - ${headerHeight / 2}px + ${fullscreen ? 0 : 28}px )`
height: `calc(${prop.height} / 2 - ${headerHeight / 2}px + ${fullscreen ? 0 : 28}px )`,
}"
/>
<my-echart
@@ -187,7 +187,7 @@ const initProbabilityData = () => {
type: 'category',
name: '越限程度',
nameLocation: 'middle',
nameGap: 30,
nameGap: 50,
data: ['0-20%', '20-40%', '40-60%', '60-80%', '80-100%'],
axisLine: {
lineStyle: {
@@ -206,7 +206,7 @@ const initProbabilityData = () => {
type: 'category',
name: '指标类型',
nameLocation: 'middle',
nameGap: 30,
nameGap: 50,
data: yAxisData,
nameTextStyle: {
color: '#111'