修复组件
This commit is contained in:
@@ -139,10 +139,11 @@ const optionData: EChartsOption = {
|
|||||||
{
|
{
|
||||||
type: 'category',
|
type: 'category',
|
||||||
axisLine: {
|
axisLine: {
|
||||||
lineStyle: {
|
show: true,
|
||||||
color: '#32346c',
|
lineStyle: {
|
||||||
},
|
color: 'rgb(0,253,255,0.6)',
|
||||||
},
|
},
|
||||||
|
},
|
||||||
splitLine: {
|
splitLine: {
|
||||||
show: true,
|
show: true,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
@@ -158,11 +159,6 @@ const optionData: EChartsOption = {
|
|||||||
},
|
},
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
inside: false,
|
inside: false,
|
||||||
textStyle: {
|
|
||||||
color: '#bac0c0',
|
|
||||||
fontWeight: 'normal',
|
|
||||||
fontSize: '12',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
data: xData,
|
data: xData,
|
||||||
},
|
},
|
||||||
@@ -175,7 +171,7 @@ const optionData: EChartsOption = {
|
|||||||
axisLine: {
|
axisLine: {
|
||||||
show: true,
|
show: true,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
color: '#32346c',
|
color: 'rgb(0,253,255,0.6)',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
splitLine: {
|
splitLine: {
|
||||||
@@ -185,11 +181,6 @@ const optionData: EChartsOption = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
textStyle: {
|
|
||||||
color: '#bac0c0',
|
|
||||||
fontWeight: 'normal',
|
|
||||||
fontSize: '12',
|
|
||||||
},
|
|
||||||
formatter: '{value}%',
|
formatter: '{value}%',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -163,22 +163,21 @@ const optionData: EChartsOption = {
|
|||||||
boundaryGap: false,
|
boundaryGap: false,
|
||||||
data: charts.lineX,
|
data: charts.lineX,
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
textStyle: {
|
|
||||||
color: 'rgb(0,253,255,0.6)',
|
|
||||||
},
|
|
||||||
formatter: function (params: any) {
|
formatter: function (params: any) {
|
||||||
return params.split(' ')[0] + '\n' + params.split(' ')[1];
|
return params.split(' ')[0] + '\n' + params.split(' ')[1];
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
axisLine: {
|
||||||
|
lineStyle: {
|
||||||
|
color: 'rgb(0,253,255,0.6)',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
name: charts.unit,
|
name: charts.unit,
|
||||||
type: 'value',
|
type: 'value',
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
formatter: '{value}',
|
formatter: '{value}',
|
||||||
textStyle: {
|
|
||||||
color: 'rgb(0,253,255,0.6)',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
splitLine: {
|
splitLine: {
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
@@ -190,11 +189,6 @@ const optionData: EChartsOption = {
|
|||||||
color: 'rgb(0,253,255,0.6)',
|
color: 'rgb(0,253,255,0.6)',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
label: {
|
|
||||||
normal: {
|
|
||||||
show: true, //折点显示数值,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
series: lineY,
|
series: lineY,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user