修改问题

This commit is contained in:
guanj
2026-01-20 14:39:13 +08:00
parent c09e6f54dd
commit 823d5f4475
15 changed files with 193 additions and 57 deletions

View File

@@ -2,7 +2,7 @@
<div v-loading="loading" style="position: relative; height: 100%">
<div id="boxr">
<div id="rmsp" :style="`height:${vh};overflow: hidden;min-height: 200px;`">
<div class="bx" id="rms" style="min-height: 200px;"></div>
<div class="bx" id="rms" style="min-height: 200px"></div>
</div>
</div>
</div>
@@ -749,7 +749,7 @@ const initWave = (
y: -10
},
max: rmscm[0]?.[1] * 1.06 || 0,
min: rmscu[0]?.[1] - rmscu[0]?.[1] * 0.04 || 0,
min: rmscu[0]?.[1] - rmscu[0]?.[1] * 0.2 || 0,
boundaryGap: [0, '100%'],
showLastLabel: true,
opposite: false,
@@ -768,7 +768,7 @@ const initWave = (
fontSize: '12px',
color: props.DColor ? '#000' : echartsColor.WordColor,
formatter: function (value: number) {
return (value - 0).toFixed(2)
return Math.floor(value * 1000) / 1000
}
},
splitLine: {
@@ -1092,7 +1092,8 @@ const drawPics = (
fontSize: '12px',
color: props.DColor ? '#000' : echartsColor.WordColor,
formatter: function (value: number) {
return (value - 0).toFixed(2)
// return (value - 0).toFixed(2)
return Math.floor(value * 1000) / 1000
}
},
splitLine: {

View File

@@ -2,7 +2,7 @@
<div v-loading="loading" class="boxbx" style="position: relative; height: 100%">
<div id="boxsj">
<div id="shushi" :style="`height:${vh};overflow: hidden;min-height: 200px;`">
<div class="bx" id="wave" style="min-height: 200px;"></div>
<div class="bx" id="wave" style="min-height: 200px"></div>
</div>
</div>
</div>
@@ -499,7 +499,8 @@ const initWave = (
fontSize: '12px',
color: props.DColor ? '#000' : echartsColor.WordColor,
formatter: function (value: number) {
return (value - 0).toFixed(2)
// return (value - 0).toFixed(2)
return Math.floor(value * 1000) / 1000
}
},
splitLine: {
@@ -806,7 +807,8 @@ const drawPics = (
fontSize: '12px',
color: props.DColor ? '#000' : echartsColor.WordColor,
formatter: function (value: number) {
return (value - 0).toFixed(2)
// return (value - 0).toFixed(2)
return Math.floor(value * 1000) / 1000
}
},
splitLine: {