rem改成px
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user