- Timestamp:
- 05/22/13 18:02:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16038 r16039 175 175 } 176 176 var Timedata=[]; 177 177 var a=[]; 178 178 for(var i=1;i<arrTime.length-1;i++) 179 179 { … … 269 269 270 270 } 271 271 for(var i=0;i<Timedata.length;i++) 272 { 273 a.push("["+parseFloat(Timedata[i])+"]"); 274 } 272 275 273 276 } … … 278 281 var chart = new Highcharts.Chart(options); 279 282 YaxisData=s; 280 var Yaxis=[[]]; 281 var Xaxis=[[]]; 282 for(var src=0;src<source.length;src++) 283 { 284 for(var i=0;i<Timedata.length;i++) 285 { 286 Xaxis[src][i]=Timedata[i]; 287 } 288 for(var y=0;y<YaxisData.length;y++) 289 { 290 Yaxis[src][i]=YaxisData[i]; 291 } 292 } 293 //document.getElementById('data').innerHTML=Xaxis; 283 284 285 //document.getElementById('data').innerHTML=Timedata+"T"+s; 294 286 //document.getElementById('sourcelist').innerHTML=; //aki man edit kuya 295 287 … … 302 294 { 303 295 chart.addSeries({name:source[src], data:[]}); // created a series of data and add name of displayed source 304 for(var i=0;i< Timedata.length;i++)296 for(var i=0;i<s.length;i++) 305 297 { 306 298
Note:
See TracChangeset
for help on using the changeset viewer.