|
|
@@ -66,7 +66,7 @@ export default {
|
|
|
})
|
|
|
this.arrMap = arrMap
|
|
|
}
|
|
|
- const baseWidth = this.EchartfontSize(16)
|
|
|
+ const baseWidth = this.EchartfontSize(14)
|
|
|
const offsetWidth = this.EchartfontSize(14)
|
|
|
const triangleHeight = 8
|
|
|
this.option = {
|
|
|
@@ -83,8 +83,8 @@ export default {
|
|
|
data: ['第一季度', '第二季度', '第三季度', '第四季度'],
|
|
|
type: 'category',
|
|
|
axisLabel: {
|
|
|
- color: '#ffffff',
|
|
|
- fontSize: this.EchartfontSize(14),
|
|
|
+ color: 'rgba(255,255,255,0.8)',
|
|
|
+ fontSize: this.EchartfontSize(12),
|
|
|
formatter: (name) => {
|
|
|
return `\n` + name
|
|
|
}
|
|
|
@@ -222,9 +222,9 @@ export default {
|
|
|
label: {
|
|
|
show: true,
|
|
|
distance: 10,
|
|
|
- color: '#fff',
|
|
|
- fontSize: this.EchartfontSize(12),
|
|
|
- position: [-baseWidth - offsetWidth / this.EchartfontSize(10), -this.EchartfontSize(36)],
|
|
|
+ color: 'rgba(255,255,255,0.76)',
|
|
|
+ fontSize: this.EchartfontSize(10),
|
|
|
+ position: [-baseWidth - offsetWidth / this.EchartfontSize(10), -this.EchartfontSize(30)],
|
|
|
formatter: (evt) => {
|
|
|
const item = this.arrMap['开关分合计划']?.[evt.dataIndex] || {}
|
|
|
return `${item.value}\n /\n${item.total}`
|
|
|
@@ -360,9 +360,9 @@ export default {
|
|
|
label: {
|
|
|
show: true,
|
|
|
distance: 10,
|
|
|
- color: '#fff',
|
|
|
- fontSize: this.EchartfontSize(12),
|
|
|
- position: [baseWidth - offsetWidth / this.EchartfontSize(2), -this.EchartfontSize(36)],
|
|
|
+ color: 'rgba(255,255,255,0.76)',
|
|
|
+ fontSize: this.EchartfontSize(10),
|
|
|
+ position: [baseWidth + 4 - offsetWidth / this.EchartfontSize(2), -this.EchartfontSize(30)],
|
|
|
formatter: (evt) => {
|
|
|
const item = this.arrMap['单体计划']?.[evt.dataIndex] || {}
|
|
|
return `${item.value}\n /\n${item.total}`
|
|
|
@@ -422,6 +422,7 @@ $xHeight: 120px;
|
|
|
height: 20px;
|
|
|
width: auto;
|
|
|
object-fit: cover;
|
|
|
+ opacity: 0.7;
|
|
|
}
|
|
|
}
|
|
|
}
|