|
|
@ -43,6 +43,8 @@ export function pieOption() { |
|
|
|
alignWithLabel: true |
|
|
|
}, |
|
|
|
axisLabel: { |
|
|
|
interval: 1, |
|
|
|
rotate: 40, |
|
|
|
show: true, |
|
|
|
textStyle: { |
|
|
|
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|
|
@ -53,7 +55,6 @@ export function pieOption() { |
|
|
|
}], |
|
|
|
yAxis: [{ |
|
|
|
type: 'value', |
|
|
|
|
|
|
|
splitNumber: 5, |
|
|
|
splitLine: { |
|
|
|
show: true, |
|
|
@ -64,6 +65,25 @@ export function pieOption() { |
|
|
|
} |
|
|
|
}, |
|
|
|
axisLabel: { |
|
|
|
show: true, |
|
|
|
textStyle: { |
|
|
|
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|
|
|
fontSize: 12 //更改坐标轴文字大小
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, { |
|
|
|
type: 'value', |
|
|
|
splitNumber: 5, |
|
|
|
splitLine: { |
|
|
|
show: true, |
|
|
|
lineStyle: { |
|
|
|
color: 'rgba(255,255,255,0.15)', |
|
|
|
width: 1, |
|
|
|
type: 'solid' |
|
|
|
} |
|
|
|
}, |
|
|
|
axisLabel: { |
|
|
|
|
|
|
|
show: true, |
|
|
|
textStyle: { |
|
|
|
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|
|
@ -76,6 +96,7 @@ export function pieOption() { |
|
|
|
type: 'bar', |
|
|
|
stack: 'Ad', |
|
|
|
barWidth: 12, |
|
|
|
yAxisIndex: 0, |
|
|
|
emphasis: { |
|
|
|
focus: 'series' |
|
|
|
}, |
|
|
@ -94,6 +115,7 @@ export function pieOption() { |
|
|
|
type: 'bar', |
|
|
|
barWidth: 12, |
|
|
|
stack: 'Ad', |
|
|
|
yAxisIndex: 0, |
|
|
|
emphasis: { |
|
|
|
focus: 'series' |
|
|
|
}, |
|
|
@ -112,6 +134,7 @@ export function pieOption() { |
|
|
|
type: 'line', |
|
|
|
barWidth: 12, |
|
|
|
stack: 'Ad', |
|
|
|
yAxisIndex: 1, |
|
|
|
emphasis: { |
|
|
|
focus: 'series' |
|
|
|
}, |
|
|
|