From e824f4823ab8fb7c6a3546fdb1c7cfaccba4cae6 Mon Sep 17 00:00:00 2001 From: stt Date: Thu, 27 Nov 2025 15:08:04 +0800 Subject: [PATCH] =?UTF-8?q?rem=E6=94=B9=E6=88=90px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/echarts/rmsboxi.vue | 28 +++++++++++++-------------- src/components/echarts/shushiboxi.vue | 28 +++++++++++++-------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/components/echarts/rmsboxi.vue b/src/components/echarts/rmsboxi.vue index a37d132..09ddfbe 100644 --- a/src/components/echarts/rmsboxi.vue +++ b/src/components/echarts/rmsboxi.vue @@ -604,7 +604,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin align: 'left' }, textStyle: { - fontSize: '0.8rem', + fontSize: '16px', color: props.DColor ? '#000' : echartsColor.WordColor } }, @@ -615,7 +615,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin enabled: true, itemDistance: 5, textStyle: { - fontSize: '0.7rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, rich: { a: { verticalAlign: 'middle' } }, padding: [0, 0, 0, 0] @@ -641,13 +641,13 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin title: { text: 'ms', textStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor }, enabled: true, align: 'high' }, - nameTextStyle: { fontSize: '0.6rem' }, + nameTextStyle: { fontSize: '14px' }, labels: { formatter: function () { return this.value @@ -662,7 +662,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin onZero: false }, axisLabel: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { if (valA.value != (value - 0).toFixed(0)) { @@ -689,7 +689,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin showLastLabel: true, opposite: false, nameTextStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor }, axisLine: { @@ -700,7 +700,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin onZero: false }, axisLabel: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { return (value - 0).toFixed(2) @@ -906,7 +906,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: left: 'center', text: '',//titlename || title, textStyle: { - fontSize: '0.8rem', + fontSize: '16px', color: props.DColor ? '#000' : echartsColor.WordColor } }, @@ -917,7 +917,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: enabled: true, itemDistance: 5, textStyle: { - fontSize: '0.7rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, rich: { a: { verticalAlign: 'middle' } }, padding: [0, 0, 0, 0] @@ -932,7 +932,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: title: { text: 'ms', textStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor }, enabled: true, @@ -943,7 +943,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: return this.value } }, - nameTextStyle: { fontSize: '0.6rem' }, + nameTextStyle: { fontSize: '14px' }, splitLine: { show: false }, axisTick: { alignWithLabel: true }, axisLine: { @@ -953,7 +953,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: onZero: false }, axisLabel: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { if (valB.value != (value - 0).toFixed(0)) { @@ -978,7 +978,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: showLastLabel: true, opposite: false, nameTextStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor }, axisLine: { @@ -989,7 +989,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: onZero: false }, axisLabel: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { return (value - 0).toFixed(2) diff --git a/src/components/echarts/shushiboxi.vue b/src/components/echarts/shushiboxi.vue index cf2dffd..606daa3 100644 --- a/src/components/echarts/shushiboxi.vue +++ b/src/components/echarts/shushiboxi.vue @@ -353,7 +353,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin left: 'center', text: titleText, textStyle: { - fontSize: '0.8rem', + fontSize: '16px', color: props.DColor ? '#000' : echartsColor.WordColor } }, @@ -364,7 +364,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin enabled: true, itemDistance: 5, textStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, rich: { a: { verticalAlign: 'middle' } }, padding: [0, 0, 0, 0] @@ -390,14 +390,14 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin title: { text: 'ms', textStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor }, enabled: true, align: 'high' }, splitLine: { show: false }, - nameTextStyle: { fontSize: '0.6rem' }, + nameTextStyle: { fontSize: '14px' }, axisTick: { alignWithLabel: true }, axisLine: { lineStyle: { @@ -406,7 +406,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin onZero: false }, axisLabel: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { if (valA.value != (value - 0).toFixed(0)) { @@ -433,7 +433,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin min: min.toFixed(2) > 0 ? min.toFixed(2) - min.toFixed(2) * 0.1 : min.toFixed(2) * 1.1, opposite: false, nameTextStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor }, axisLine: { @@ -444,7 +444,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin onZero: false }, axisLabel: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { return (value - 0).toFixed(2) @@ -640,7 +640,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: left: 'center', text: '',//titlename || title, textStyle: { - fontSize: '0.8rem', + fontSize: '16px', color: props.DColor ? '#000' : echartsColor.WordColor } }, @@ -651,7 +651,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: enabled: true, itemDistance: 5, textStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, rich: { a: { verticalAlign: 'middle' } }, padding: [0, 0, 0, 0] @@ -666,7 +666,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: title: { text: 'ms', textStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor }, enabled: true, @@ -680,9 +680,9 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: }, onZero: false }, - nameTextStyle: { fontSize: '0.6rem' }, + nameTextStyle: { fontSize: '14px' }, axisLabel: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { if (valB.value != (value - 0).toFixed(0)) { @@ -709,7 +709,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: min: min.toFixed(2) > 0 ? min.toFixed(2) - min.toFixed(2) * 0.1 : min.toFixed(2) * 1.1, opposite: false, nameTextStyle: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor }, axisLine: { @@ -720,7 +720,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: onZero: false }, axisLabel: { - fontSize: '0.6rem', + fontSize: '14px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { return (value - 0).toFixed(2)