...
|
...
|
@@ -97,6 +97,13 @@ |
|
|
|
|
|
var dateY = [1,2,3,4];
|
|
|
|
|
|
var num=0;
|
|
|
|
|
|
$.each(dateY,function (i, v) {
|
|
|
num+=v
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
//周统计数据
|
|
|
var weekDataX = ["第一周","第二周","第三周","第四周","第五周","第六周", "第七周",
|
...
|
...
|
@@ -146,7 +153,7 @@ |
|
|
formatter : function(data){
|
|
|
//console.log(data);
|
|
|
var str = data[0].name ;
|
|
|
str += '</br>总人数:' + data[0].value;
|
|
|
str += '</br>总人数:' + data[0].value + ' 占比:' + data[0].value/num+100+'%';
|
|
|
return str;
|
|
|
}
|
|
|
},
|
...
|
...
|
|