Changeset 15695
- Timestamp:
- 05/20/13 04:57:33 (11 years ago)
- Location:
- schedule
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15694 r15695 98 98 99 99 } 100 //source['Mrk 421']=arr;101 document.getElementById('data').innerHTML=new line;100 var newdata=newline.join(); 101 document.getElementById('data').innerHTML=newdata; 102 102 var chart = new Highcharts.Chart({ 103 103 … … 113 113 }, 114 114 categories:["","","","","","","","19:00","20:00","21:00","22:00","23:00","24:00","1:00","2:00","3:00","4:00","5:00","6:00","7:00"]}, 115 series:[{data:[new line]}], /* array of Data */115 series:[{data:[newdata]}], /* array of Data */ 116 116 117 117 remove:function() … … 154 154 xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+'Mrk+421'+"&time="+year+"-"+month+"-"+day,true); 155 155 xmlhttp.send(); 156 $('#Graph').load('chart.php?day='+day+"&month="+month+"&year="+year +'&new='+newline);156 $('#Graph').load('chart.php?day='+day+"&month="+month+"&year="+year); 157 157 158 158 }); -
schedule/chart.php
r15692 r15695 1 1 2 <div id="Time" align="center"><?php echo $_GET['year'],'-',$_GET['month'],'-',$_GET['day'] ,$_GET['new'];?></div>2 <div id="Time" align="center"><?php echo $_GET['year'],'-',$_GET['month'],'-',$_GET['day'];?></div> 3 3 <div id="container" style="width:100%; height:435px"></div>
Note:
See TracChangeset
for help on using the changeset viewer.