Changeset 15837
- Timestamp:
- 05/20/13 18:59:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15834 r15837 97 97 //arr[row]="["+f[4]+"]"; 98 98 newline[row]=(parseFloat(f[4])||parseInt("0")); 99 var s=[]; 100 for(var c=0;c<newline.length;c++) 101 { 102 if(newline[c]==0) 103 { 104 105 } 106 else 107 s.push(parseFloat(newline[c])); 108 } 99 109 100 110 } 101 var s=[]; 102 for(var c=0;c<newline.length;c++) 103 { 104 if(newline[c]==0) 105 { 106 107 } 108 else 109 s.push(parseFloat('['+newline[c]+']')); 110 } 111 111 112 var temp = ""; 112 113 var Hours = ""; … … 115 116 116 117 newdata=s; 117 document.getElementById('data').innerHTML=arr Time;118 document.getElementById('data').innerHTML=arr; 118 119 119 120 $(function () { … … 132 133 data = JSON.parse(data); 133 134 134 options.series.push({data: data});135 options.series.push({data:[data]}); 135 136 136 137 var chart = new Highcharts.Chart(options);
Note:
See TracChangeset
for help on using the changeset viewer.