- Timestamp:
- 06/03/13 16:42:45 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/js/chart.js
r16631 r16632 85 85 var dataGraph = new Array(source.length); 86 86 var Time = new Array(source.length); 87 var Temp = new Array(source.length);88 var colonTime = new Array(source.length);89 var colonMin = new Array(source.length);90 var Hour = new Array(source.length);87 //var Temp = new Array(source.length); 88 //var colonTime = new Array(source.length); 89 //var colonMin = new Array(source.length); 90 //var Hour = new Array(source.length); 91 91 for (i=0; i<source.length; i++) 92 92 { … … 102 102 dataGraph[i].push(parseFloat(rows[4])||parseFloat('0')); 103 103 Temp[row]=rows[0]; 104 for(TempTime=0;TempTime<Temp.length;TempTime++)104 /*for(TempTime=0;TempTime<Temp.length;TempTime++) 105 105 { 106 106 rowTime=Temp[TempTime].split(':'); … … 113 113 Time[i].push(Hour[TempHour]+'.'+colonMin[TempTime]); 114 114 }*/ 115 Time[i].push(colonTime[TempTime]);115 /*Time[i].push(colonTime[TempTime]); 116 116 117 } 117 }*/ 118 Time[i].push(Temp[row]); 118 119 } 119 120 $('#data').append(i + ": " + source[i] + ' GRAPH DATA ' + dataGraph[i] + ' Time '+ Time[i]);
Note:
See TracChangeset
for help on using the changeset viewer.