- Timestamp:
- 06/04/13 22:59:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/js/chart.js
r16717 r16718 92 92 var Time = new Array(source.length); 93 93 var Temp = new Array(); 94 var Hour = new Array();95 var Min = new Array();94 //var Hour = new Array(); 95 //var Min = new Array(); 96 96 var HourMin = new Array(); 97 var TempHour = new Array();97 //var TempHour = new Array(); 98 98 var chart = new Highcharts.Chart(options); 99 99 for (i=0; i<source.length; i++) … … 108 108 Temp[row]=rows[0]; 109 109 dataGraph[i].push(parseFloat(rows[4])||parseFloat('0')); 110 /*for(TimeX=0;TimeX<Temp.length;TimeX++) 111 { 112 date = new Date(Temp[TimeX]); 113 HourMin.push(date.getHour()+ '.'+ parseInt(date.getMinutes()/60*100)); 114 }*/ 115 Time[i].push(Temp[row]); 110 dateTime = new Date(rows[0]); 111 Time[i].push(parseFloat(get.Hours())+'.'+parseInt(get.Minutes()/60*100)); 116 112 117 113 }
Note:
See TracChangeset
for help on using the changeset viewer.