|
|
@ -88,13 +88,15 @@ export default {
|
|
|
|
orient: "vartical",
|
|
|
|
orient: "vartical",
|
|
|
|
x: "left",
|
|
|
|
x: "left",
|
|
|
|
top: "0%",
|
|
|
|
top: "0%",
|
|
|
|
left: "32%",
|
|
|
|
left: "35%",
|
|
|
|
bottom: "0%",
|
|
|
|
bottom: "0%",
|
|
|
|
data: xdata,
|
|
|
|
data: xdata,
|
|
|
|
itemWidth: 8,
|
|
|
|
itemWidth: 8,
|
|
|
|
itemHeight: 8,
|
|
|
|
itemHeight: 8,
|
|
|
|
itemGap: 16,
|
|
|
|
itemGap: 16,
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
fontSize: 10, // 设置字体大小为14px
|
|
|
|
|
|
|
|
},
|
|
|
|
/*formatter:function(name){
|
|
|
|
/*formatter:function(name){
|
|
|
|
var oa = option.series[0].data;
|
|
|
|
var oa = option.series[0].data;
|
|
|
|
var num = oa[0].value + oa[1].value + oa[2].value + oa[3].value+oa[4].value + oa[5].value + oa[6].value + oa[7].value+oa[8].value + oa[9].value ;
|
|
|
|
var num = oa[0].value + oa[1].value + oa[2].value + oa[3].value+oa[4].value + oa[5].value + oa[6].value + oa[7].value+oa[8].value + oa[9].value ;
|
|
|
|