正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -115,6 +115,8 @@ | @@ -115,6 +115,8 @@ | ||
115 | var axisData = ["第一周","第二周","第三周","第四周","第五周","第六周", "第七周", | 115 | var axisData = ["第一周","第二周","第三周","第四周","第五周","第六周", "第七周", |
116 | "第八周","第九周","第十周","第十一周","第十二周","第十三周","第十四周","第十五周"]; | 116 | "第八周","第九周","第十周","第十一周","第十二周","第十三周","第十四周","第十五周"]; |
117 | 117 | ||
118 | + var myData = [1,52,35,46,75,82,15,43,65,35,25,41,83,75,98]; | ||
119 | + | ||
118 | function GetData(){ | 120 | function GetData(){ |
119 | var myData = []; | 121 | var myData = []; |
120 | for( var i = 0; i < axisData.length; i++ ){ | 122 | for( var i = 0; i < axisData.length; i++ ){ |
@@ -444,7 +446,7 @@ | @@ -444,7 +446,7 @@ | ||
444 | type:'line', | 446 | type:'line', |
445 | //stack: '人数', | 447 | //stack: '人数', |
446 | barWidth : 10, | 448 | barWidth : 10, |
447 | - data:GetDataHg() | 449 | + data:myData |
448 | } | 450 | } |
449 | ] | 451 | ] |
450 | }; | 452 | }; |
-
请 注册 或 登录 后发表评论