对tooltip显示bug进行了修改

This commit is contained in:
Cool 2023-11-16 18:50:44 +08:00
parent 40ff038d2c
commit 93c9212bd3
1 changed files with 11 additions and 6 deletions

View File

@ -308,7 +308,7 @@ export default {
text: ''
},
tooltip: {
trigger: 'axis'
trigger: 'axis',
},
legend: {
data: colleges
@ -398,7 +398,11 @@ export default {
label: {
show: true,
position: 'top'
}
},
tooltip: {
trigger: 'axis',
show: true
},
},
{
name: item.college,
@ -406,13 +410,14 @@ export default {
data: [],
//
barWidth: 50,
tooltip: {
trigger: 'axis',
show: false
},
//
itemStyle: {
color: 'rgba(84,122,198,0.9)'
color: 'rgba(84,122,198,0.9)'
},
},
]
}