添加柱状图legend属性
This commit is contained in:
parent
7fc0f45a6a
commit
9941a2d725
|
@ -403,7 +403,7 @@ export default {
|
|||
}
|
||||
console.log(yData, "yData")
|
||||
seriesData.push({
|
||||
name: i + '级累计总通过率',
|
||||
name: i ,
|
||||
type: 'bar',
|
||||
//设置柱状图大小
|
||||
barWidth: 25,
|
||||
|
@ -459,7 +459,9 @@ export default {
|
|||
title: {
|
||||
text: "本批次学院通过率排名",
|
||||
},
|
||||
// legend: legendData,
|
||||
legend: {
|
||||
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
axisPointer: {
|
||||
|
|
Loading…
Reference in New Issue