修复组件
This commit is contained in:
@@ -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}%',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user