diff --git a/src/views/dashboard/overview/components/AlarnDayLine/index.vue b/src/views/dashboard/overview/components/AlarnDayLine/index.vue index 7c786b35..2c1a8650 100644 --- a/src/views/dashboard/overview/components/AlarnDayLine/index.vue +++ b/src/views/dashboard/overview/components/AlarnDayLine/index.vue @@ -139,10 +139,11 @@ const optionData: EChartsOption = { { type: 'category', axisLine: { - lineStyle: { - color: '#32346c', - }, + show: true, + lineStyle: { + color: 'rgb(0,253,255,0.6)', }, + }, splitLine: { show: true, lineStyle: { @@ -158,11 +159,6 @@ const optionData: EChartsOption = { }, axisLabel: { inside: false, - textStyle: { - color: '#bac0c0', - fontWeight: 'normal', - fontSize: '12', - }, }, data: xData, }, @@ -175,7 +171,7 @@ const optionData: EChartsOption = { axisLine: { show: true, lineStyle: { - color: '#32346c', + color: 'rgb(0,253,255,0.6)', }, }, splitLine: { @@ -185,11 +181,6 @@ const optionData: EChartsOption = { }, }, axisLabel: { - textStyle: { - color: '#bac0c0', - fontWeight: 'normal', - fontSize: '12', - }, formatter: '{value}%', }, }, diff --git a/src/views/dashboard/overview/components/UPFFlow/index.vue b/src/views/dashboard/overview/components/UPFFlow/index.vue index 57b4a587..1da18321 100644 --- a/src/views/dashboard/overview/components/UPFFlow/index.vue +++ b/src/views/dashboard/overview/components/UPFFlow/index.vue @@ -163,22 +163,21 @@ const optionData: EChartsOption = { boundaryGap: false, data: charts.lineX, axisLabel: { - textStyle: { - color: 'rgb(0,253,255,0.6)', - }, formatter: function (params: any) { return params.split(' ')[0] + '\n' + params.split(' ')[1]; }, }, + axisLine: { + lineStyle: { + color: 'rgb(0,253,255,0.6)', + }, + }, }, yAxis: { name: charts.unit, type: 'value', axisLabel: { formatter: '{value}', - textStyle: { - color: 'rgb(0,253,255,0.6)', - }, }, splitLine: { lineStyle: { @@ -190,11 +189,6 @@ const optionData: EChartsOption = { color: 'rgb(0,253,255,0.6)', }, }, - label: { - normal: { - show: true, //折点显示数值, - }, - }, }, series: lineY, };