|
@@ -3644,7 +3644,7 @@ let app = new Vue({
|
|
},
|
|
},
|
|
formatter: function(e){
|
|
formatter: function(e){
|
|
//console.log(this)
|
|
//console.log(this)
|
|
- let num = chartData[this.colorIndex].x
|
|
|
|
|
|
+ let num = chartData[this.colorIndex].num
|
|
this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
|
|
this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
|
|
return `${this.key}:<b>${this.percentage}%</b><br/><b>${this.y}</b>亿,<b>${num}个</b>`
|
|
return `${this.key}:<b>${this.percentage}%</b><br/><b>${this.y}</b>亿,<b>${num}个</b>`
|
|
},
|
|
},
|