Changeset 15658 for schedule/Module
- Timestamp:
- 05/17/13 16:10:33 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15657 r15658 70 70 if (xmlhttp.readyState==4 && xmlhttp.status==200) 71 71 { 72 var chart = new Highcharts.Chart({ 72 73 var lines =xmlhttp.responseText.split('\n'); 73 74 var arr = []; … … 92 93 if(f[4]==0) 93 94 { 94 newline[row]="["+ c[2]+","+0+"]";95 newline[row]="["+0+"]"; 95 96 } 96 97 else if(f[4]=="" && f[0]=="") 97 98 { 98 newline[row]="["+ c[2]+","+0+"]";99 newline[row]="["+0+"]"; 99 100 } 100 101 else 101 newline[row]="["+ c[2]+","+parseFloat(f[4])+"]";102 newline[row]="["+parseFloat(f[4])+"]"; 102 103 103 104 } … … 109 110 //source['Mrk 421']=arr; 110 111 document.getElementById('data').innerHTML=newline; 111 var chart = new Highcharts.Chart({112 112 113 chart: { 113 114 renderTo: 'container' /* display to div Graph*/ … … 120 121 }, 121 122 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"]}, 122 series:[{data:[ 19,23]}], /* array of Data */123 series:[{data:[newline]}], /* array of Data */ 123 124 124 125 remove:function()
Note:
See TracChangeset
for help on using the changeset viewer.