Changeset 16716 for schedule/js
- Timestamp:
- 06/04/13 22:50:14 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/js/chart.js
r16715 r16716 108 108 Temp[row]=rows[0]; 109 109 dataGraph[i].push(parseFloat(rows[4])||parseFloat('0')); 110 for( getTime=0;getTime<Temp.length;getTime++)110 for(TimeX=0;TimeX<Temp.length;TimeX++) 111 111 { 112 date = new Date(Temp[ getTime]);112 date = new Date(Temp[TimeX]); 113 113 HourMin.push(date.getHour()+ '.'+ parseInt(date.getMinutes()/60*100)); 114 114 } 115 Time[i].push( Temp[row]);115 Time[i].push(HourMin[row]); 116 116 117 117 } 118 /*for(Graph=0;Graph<dataGraph[i].length;Graph++)118 for(Graph=0;Graph<dataGraph[i].length;Graph++) 119 119 { 120 120 chart.series[i].addPoint({ // series[0] means index of zero in data; … … 122 122 y:dataGraph[i][Graph] // Value 123 123 }) 124 } */124 } 125 125 //$('#data').append(i + ": " + source[i] + ' Time ' + Time[i]); 126 126 }
Note:
See TracChangeset
for help on using the changeset viewer.