正在显示
1 个修改的文件
包含
18 行增加
和
7 行删除
@@ -86,20 +86,31 @@ | @@ -86,20 +86,31 @@ | ||
86 | }); | 86 | }); |
87 | 87 | ||
88 | //医院总体时长横坐标数据 | 88 | //医院总体时长横坐标数据 |
89 | - var date = ['一中心','妇幼','二附属']; | 89 | + var totalDateX = ['一中心','妇幼','二附属']; |
90 | //医院总体时长纵坐标数据 | 90 | //医院总体时长纵坐标数据 |
91 | + var totalDateY = [10,20,30]; | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + //虚拟数据 | ||
96 | + var date = ['2016/11/1','2016/11/2','2016/11/3','2016/11/4','2016/11/5','2016/11/6','2016/11/7','2016/11/8','2016/11/9','2016/11/10', | ||
97 | + '2016/11/11','2016/11/12','2016/11/13','2016/11/14','2016/11/15','2016/11/16','2016/11/17','2016/11/18' | ||
98 | + ,'2016/11/19','2016/11/20','2016/11/21','2016/11/22','2016/11/23','2016/11/24','2016/11/25','2016/11/26','2016/11/27' | ||
99 | + ,'2016/11/28','2016/11/29','2016/11/30']; | ||
100 | + | ||
101 | + | ||
91 | function my_data(){ | 102 | function my_data(){ |
92 | - var data = [10,20,30]; | 103 | + var data = []; |
104 | + for( var i =0; i<30; i++){ | ||
105 | + data.push(Math.round(Math.random() * (500 - 100) + 100)); | ||
106 | + }; | ||
93 | return data; | 107 | return data; |
94 | } | 108 | } |
109 | + var num = my_data(); | ||
110 | + var bl = '30%'; | ||
95 | 111 | ||
96 | - //医院总体时长横坐标数据 | ||
97 | - var totalDateX = ['一中心','妇幼','二附属']; | ||
98 | - //医院总体时长纵坐标数据 | ||
99 | - var totalDateY = [10,20,30]; | ||
100 | 112 | ||
101 | 113 | ||
102 | - var num = my_data(); | ||
103 | 114 | ||
104 | var axisData = [ | 115 | var axisData = [ |
105 | "2013/1/24", "2013/1/25", "2013/1/28", "2013/1/29", "2013/1/30", | 116 | "2013/1/24", "2013/1/25", "2013/1/28", "2013/1/29", "2013/1/30", |
-
请 注册 或 登录 后发表评论