- Timestamp:
- 06/03/13 16:47:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/js/chart.js
r16633 r16634 86 86 var Time = new Array(source.length); 87 87 var Temp = new Array(); 88 //var colonTime = new Array(source.length);88 var colonTime = new Array(); 89 89 //var colonMin = new Array(source.length); 90 90 //var Hour = new Array(source.length); … … 93 93 dataGraph[i] = new Array(); //dataGraph contains the individual points for each source i 94 94 Time[i] = new Array(); // Time contains the individual time for each sources. 95 //Temp[i] = new Array();96 //colonTime[i] = new Array();97 //colonMin[i] = new Array();98 //Hour[i] = new Array();99 95 for(row=0;row<dataSource[i].length;row++) 100 96 { … … 102 98 dataGraph[i].push(parseFloat(rows[4])||parseFloat('0')); 103 99 Temp[row]=rows[0]; 100 for(TT=0;TT<Temp.length;TT++) 101 { 102 rowsTime=Temp[TT].split(":"); 103 colonTime.push(rowsTime[0]); 104 } 104 105 /*for(TempTime=0;TempTime<Temp.length;TempTime++) 105 106 { … … 116 117 117 118 }*/ 118 Time[i].push( Temp[row]);119 Time[i].push(colonTime[row]); 119 120 } 120 121 $('#data').append(i + ": " + source[i] + ' GRAPH DATA ' + dataGraph[i] + ' Time '+ Time[i]);
Note:
See TracChangeset
for help on using the changeset viewer.