- Timestamp:
- 05/25/13 06:16:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16266 r16267 158 158 159 159 marker : { 160 enabled: true160 enabled:false 161 161 } 162 162 } … … 203 203 for(var Data=0; Data<DataVal.length;Data++) 204 204 { 205 if(DataVal[Data]== 0)205 if(DataVal[Data]==undefined) 206 206 { 207 207 208 208 } 209 else if(DataVal[Data]==0) 210 { 211 212 } 209 213 else 210 DataValue[ [Data]]=parseFloat(DataVal[Data]);214 DataValue[Data]=parseFloat(DataVal[Data]); 211 215 } 212 216 … … 222 226 if(MinTime[ConTime]==8) 223 227 { 224 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+'.08';225 } 226 else 227 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];228 Time[ConTime]=HourTime[ConTime]+24+'.'+'.08'; 229 } 230 else 231 Time[ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 228 232 } 229 233 else if(HourTime[ConTime]==1) … … 231 235 if(MinTime[ConTime]==8) 232 236 { 233 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+'.08';234 } 235 else 236 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];237 Time[ConTime]=HourTime[ConTime]+24+'.'+'.08'; 238 } 239 else 240 Time[ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 237 241 } 238 242 else if(HourTime[ConTime]==2) … … 240 244 if(MinTime[ConTime]==8) 241 245 { 242 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+'.08';243 } 244 else 245 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];246 Time[ConTime]=HourTime[ConTime]+24+'.'+'.08'; 247 } 248 else 249 Time[ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 246 250 } 247 251 else if(HourTime[ConTime]==3) … … 249 253 if(MinTime[ConTime]==8) 250 254 { 251 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+'.08';252 } 253 else 254 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];255 Time[ConTime]=HourTime[ConTime]+24+'.'+'.08'; 256 } 257 else 258 Time[ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 255 259 } 256 260 else if(HourTime[ConTime]==4) … … 258 262 if(MinTime[ConTime]==8) 259 263 { 260 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+'.08';261 } 262 else 263 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];264 Time[ConTime]=HourTime[ConTime]+24+'.'+'.08'; 265 } 266 else 267 Time[ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 264 268 } 265 269 else if(HourTime[ConTime]==5) … … 267 271 if(MinTime[ConTime]==8) 268 272 { 269 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+'.08';270 } 271 else 272 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];273 Time[ConTime]=HourTime[ConTime]+24+'.'+'.08'; 274 } 275 else 276 Time[ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 273 277 } 274 278 else if(HourTime[ConTime]==6) … … 276 280 if(MinTime[ConTime]==8) 277 281 { 278 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+'.08';279 } 280 else 281 Time[ [ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime];282 Time[ConTime]=HourTime[ConTime]+24+'.'+'.08'; 283 } 284 else 285 Time[ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 282 286 } 283 287 else 284 Time[ [ConTime]]=HourTime[ConTime]+'.'+MinTime[ConTime];288 Time[ConTime]=HourTime[ConTime]+'.'+MinTime[ConTime]; 285 289 286 290 } … … 297 301 298 302 chart.series[src].addPoint({ // series[0] means index of zero in data; 299 x:Time[ 0][DataCnt], // Time300 y:DataValue[ 0][DataCnt] // Value303 x:Time[DataCnt], // Time 304 y:DataValue[DataCnt] // Value 301 305 }) 302 306
Note:
See TracChangeset
for help on using the changeset viewer.