Changeset 16262
- Timestamp:
- 05/25/13 06:05:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16261 r16262 222 222 if(MinTime[ConTime]==8) 223 223 { 224 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+'.08';225 } 226 else 227 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];224 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 225 } 226 else 227 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 228 228 } 229 229 else if(HourTime[ConTime]==1) … … 231 231 if(MinTime[ConTime]==8) 232 232 { 233 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+'.08';234 } 235 else 236 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];233 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 234 } 235 else 236 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 237 237 } 238 238 else if(HourTime[ConTime]==2) … … 240 240 if(MinTime[ConTime]==8) 241 241 { 242 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+'.08';243 } 244 else 245 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];242 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 243 } 244 else 245 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 246 246 } 247 247 else if(HourTime[ConTime]==3) … … 249 249 if(MinTime[ConTime]==8) 250 250 { 251 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+'.08';252 } 253 else 254 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];251 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 252 } 253 else 254 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 255 255 } 256 256 else if(HourTime[ConTime]==4) … … 258 258 if(MinTime[ConTime]==8) 259 259 { 260 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+'.08';261 } 262 else 263 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];260 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 261 } 262 else 263 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 264 264 } 265 265 else if(HourTime[ConTime]==5) … … 267 267 if(MinTime[ConTime]==8) 268 268 { 269 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+'.08';270 } 271 else 272 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];269 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 270 } 271 else 272 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 273 273 } 274 274 else if(HourTime[ConTime]==6) … … 276 276 if(MinTime[ConTime]==8) 277 277 { 278 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+'.08';279 } 280 else 281 Time[[ ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];278 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 279 } 280 else 281 Time[[i][ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 282 282 } 283 283 else 284 Time[[ ConTime]]=HourTime[ConTime]+'.'+MinTime[ConTime];284 Time[[i][ConTime]]=HourTime[ConTime]+'.'+MinTime[ConTime]; 285 285 286 286 } … … 293 293 { 294 294 chart.addSeries({name:source[src], data:[]}); // created a series of data and add name of displayed source 295 for(var DataCnt=0;DataCnt<DataValue .length;DataCnt++)295 for(var DataCnt=0;DataCnt<DataValue[src].length;DataCnt++) 296 296 { 297 297 298 298 chart.series[src].addPoint({ // series[0] means index of zero in data; 299 x:Time[[ DataCnt]], // Time300 y:DataValue[[ DataCnt]] // Value299 x:Time[[src][DataCnt]], // Time 300 y:DataValue[[src][DataCnt]] // Value 301 301 }) 302 302
Note:
See TracChangeset
for help on using the changeset viewer.