|
|
@ -43,8 +43,8 @@ export function pieOption() { |
|
|
|
alignWithLabel: true |
|
|
|
}, |
|
|
|
axisLabel: { |
|
|
|
interval: 1, |
|
|
|
rotate: 40, |
|
|
|
interval:3, |
|
|
|
|
|
|
|
show: true, |
|
|
|
textStyle: { |
|
|
|
color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色
|
|
|
@ -55,6 +55,7 @@ export function pieOption() { |
|
|
|
}], |
|
|
|
yAxis: [{ |
|
|
|
type: 'value', |
|
|
|
|
|
|
|
splitNumber: 5, |
|
|
|
splitLine: { |
|
|
|
show: true, |
|
|
@ -65,25 +66,6 @@ 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)', //更改坐标轴文字颜色
|
|
|
@ -94,9 +76,8 @@ export function pieOption() { |
|
|
|
series: [{ |
|
|
|
name: '个性服务', |
|
|
|
type: 'bar', |
|
|
|
stack: 'Ad', |
|
|
|
|
|
|
|
barWidth: 12, |
|
|
|
yAxisIndex: 0, |
|
|
|
emphasis: { |
|
|
|
focus: 'series' |
|
|
|
}, |
|
|
@ -114,8 +95,7 @@ export function pieOption() { |
|
|
|
name: '完成服务', |
|
|
|
type: 'bar', |
|
|
|
barWidth: 12, |
|
|
|
stack: 'Ad', |
|
|
|
yAxisIndex: 0, |
|
|
|
|
|
|
|
emphasis: { |
|
|
|
focus: 'series' |
|
|
|
}, |
|
|
@ -134,7 +114,6 @@ export function pieOption() { |
|
|
|
type: 'line', |
|
|
|
barWidth: 12, |
|
|
|
stack: 'Ad', |
|
|
|
yAxisIndex: 1, |
|
|
|
emphasis: { |
|
|
|
focus: 'series' |
|
|
|
}, |
|
|
@ -150,4 +129,4 @@ export function pieOption() { |
|
|
|
data: [] |
|
|
|
}, ] |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|