正在显示
1 个修改的文件
包含
20 行增加
和
9 行删除
@@ -84,14 +84,6 @@ | @@ -84,14 +84,6 @@ | ||
84 | overlayClass : 'animsition-overlay-slide', | 84 | overlayClass : 'animsition-overlay-slide', |
85 | overlayParentElement : 'body' | 85 | overlayParentElement : 'body' |
86 | }); | 86 | }); |
87 | - | ||
88 | - //医院总体时长横坐标数据 | ||
89 | - var date = ['一中心','妇幼','二附属']; | ||
90 | - //医院总体时长纵坐标数据 | ||
91 | - function my_data(){ | ||
92 | - var data = [10,20,30]; | ||
93 | - return data; | ||
94 | - } | ||
95 | 87 | ||
96 | //医院总体时长横坐标数据 | 88 | //医院总体时长横坐标数据 |
97 | var totalDateX = ['一中心','妇幼','二附属']; | 89 | var totalDateX = ['一中心','妇幼','二附属']; |
@@ -99,7 +91,26 @@ | @@ -99,7 +91,26 @@ | ||
99 | var totalDateY = [10,20,30]; | 91 | var totalDateY = [10,20,30]; |
100 | 92 | ||
101 | 93 | ||
102 | - var num = my_data(); | 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 | + | ||
102 | + function my_data(){ | ||
103 | + var data = []; | ||
104 | + for( var i =0; i<30; i++){ | ||
105 | + data.push(Math.round(Math.random() * (500 - 100) + 100)); | ||
106 | + }; | ||
107 | + return data; | ||
108 | + } | ||
109 | + var num = my_data(); | ||
110 | + var bl = '30%'; | ||
111 | + | ||
112 | + | ||
113 | + | ||
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", |
-
请 注册 或 登录 后发表评论