Changeset 16274 for schedule/Module
- Timestamp:
- 05/25/13 06:37:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16273 r16274 164 164 }; 165 165 166 166 167 167 168 for(var i=0; i<source.length;i++) … … 179 180 if(xml.readyState==4 && xml.status ==200) 180 181 { 181 182 var chart=new Highcharts.Chart(options); 183 document.getElementById('data').innerHTML=DataValue; 182 document.getElementById('data').innerHTML=DataValue; 184 183 185 184 lines[i]=xml.responseText.split("\n"); … … 294 293 295 294 } 296 297 } 298 } 299 xml.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[i])+"&time="+year+"-"+month+"-"+day,true); 300 xml.send(); 301 } 302 303 for(var src=0;src<source.length;src++) 295 var chart=new Highcharts.Chart(options); 296 for(var src=0;src<i;src++) 304 297 { 305 298 chart.addSeries({name:source[src], data:[]}); // created a series of data and add name of displayed source … … 316 309 317 310 } 318 311 312 } 313 } 314 xml.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[i])+"&time="+year+"-"+month+"-"+day,true); 315 xml.send(); 316 } 319 317 //Charts(DataValue[[i]],Time); 320 318 $('#Graph').fadeOut();
Note:
See TracChangeset
for help on using the changeset viewer.