效果:
1.比较简单的方法
series: [{name: "重大风险",type: "bar",data: data2,color: ExtremeRiskColor,tooltip: {valueFormatter: function (value) {return value + ' 个';}},},{name: "较大风险",type: "bar",data: data3,color:LargerRiskColor,tooltip: {valueFormatter: function (value) {return value + ' 个';}},},{name: "一般风险",type: "bar",data: data4,color: GeneralRiskColor,tooltip: {valueFormatter: function (value) {return value + ' 个';}},},
]