- Timestamp:
- 06/03/13 16:57:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/js/chart.js
r16636 r16637 87 87 var colonTime = new Array(); 88 88 var colonMin = new Array(); 89 //var Hour = new Array(source.length);89 var Hour = new Array(); 90 90 for (i=0; i<source.length; i++) 91 91 { … … 101 101 rowsTime=Temp[TT].split(":"); 102 102 colonTime.push(rowsTime[0]); 103 colonMin.push(rowsTime[1]); 104 /*for(TH=0;TH<colonTime.length;TH++) 105 { 103 colonMin.push(parseFloat(rowsTime[1]/60*100)||parseFloat('0')); 104 } 105 for(TH=0;TH<colonTime.length;TH++) 106 { 106 107 rowsHour=colonTime[TH].split('T'); 107 }*/108 Hour.push(parseInt(rowsHour[1])||parseFloat('0')); 108 109 } 109 110 /*for(TempTime=0;TempTime<Temp.length;TempTime++) … … 121 122 122 123 }*/ 123 Time[i].push( colonMin[row]);124 Time[i].push((Hour[row]+'.'+colonMin[row]); 124 125 } 125 126 $('#data').append(i + ": " + source[i] + ' GRAPH DATA ' + dataGraph[i] + ' Time '+ Time[i]);
Note:
See TracChangeset
for help on using the changeset viewer.