- Timestamp:
- 06/03/13 17:50:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/js/chart.js
r16649 r16650 111 111 Hour.push(parseInt(rowsHour[1])||parseFloat('0')); 112 112 } 113 for(vTime=0;vTime<Hour.length;vTime++) 114 { 115 if(Hour[vTime]==0) 116 { 117 if(Hour[vTime]==8) 118 { 119 HourMin.push(Hour[vTime]+24+ '.08'); 120 } 121 else 122 HourMin.push(Hour[vTime]+24+'.'+colonMin[vTime]); 123 } 124 else if(Hour[vTime]==1) 125 { 126 if(Hour[vTime]==8) 127 { 128 HourMin.push(Hour[vTime]+24+ '.08'); 129 } 130 else 131 HourMin.push(Hour[vTime]+24+'.'+colonMin[vTime]); 132 } 133 else if(Hour[vTime]==2) 134 { 135 if(Hour[vTime]==8) 136 { 137 HourMin.push(Hour[vTime]+24+ '.08'); 138 } 139 else 140 HourMin.push(Hour[vTime]+24+'.'+colonMin[vTime]); 141 } 142 else if(Hour[vTime]==3) 143 { 144 if(Hour[vTime]==8) 145 { 146 HourMin.push(Hour[vTime]+24+ '.08'); 147 } 148 else 149 HourMin.push(Hour[vTime]+24+'.'+colonMin[vTime]); 150 } 151 else if(Hour[vTime]==4) 152 { 153 if(Hour[vTime]==8) 154 { 155 HourMin.push(Hour[vTime]+24+ '.08'); 156 } 157 else 158 HourMin.push(Hour[vTime]+24+'.'+colonMin[vTime]); 159 } 160 else if(Hour[vTime]==5) 161 { 162 if(Hour[vTime]==8) 163 { 164 HourMin.push(Hour[vTime]+24+ '.08'); 165 } 166 else 167 HourMin.push(Hour[vTime]+24+'.'+colonMin[vTime]); 168 } 169 else if(Hour[vTime]==6) 170 { 171 if(Hour[vTime]==8) 172 { 173 HourMin.push(Hour[vTime]+24+ '.08'); 174 } 175 else 176 HourMin.push(Hour[vTime]+24+'.'+colonMin[vTime]); 177 } 178 else if(Hour[vTime]==7) 179 { 180 if(Hour[vTime]==8) 181 { 182 HourMin.push(Hour[vTime]+24+ '.08'); 183 } 184 else 185 HourMin.push(Hour[vTime]+24+'.'+colonMin[vTime]); 186 } 187 else if(Hour[vTime]==8) 188 { 189 if(Hour[vTime]==8) 190 { 191 HourMin.push(Hour[vTime]+24+ '.08'); 192 } 193 else 194 HourMin.push(Hour[vTime]+24+'.'+colonMin[vTime]); 195 } 196 else if(colonMin[vTime]==8) 197 { 198 HourMin.push(Hour[vTime] + '.08'); 199 } 200 else 201 202 HourMin.push(Hour[vTime]+'.'+colonMin[vTime]); 203 204 205 } 206 Time[i].push(HourMin[vTime]); 113 114 Time[i].push(Hour[row]); 207 115 208 116 }
Note:
See TracChangeset
for help on using the changeset viewer.