Changeset 16666 for schedule/js/chart.js
- Timestamp:
- 06/03/13 18:45:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/js/chart.js
r16665 r16666 51 51 52 52 xAxis: { 53 categories:[ "12PM","1PM","2PM","3PM","4PM","5PM","6PM","7PM","8PM","9PM","10PM","11PM","12AM","1AM","2AM","3AM","4AM","5AM","6AM","7AM","8AM","9AM","10AM","12PM"]53 categories:[] 54 54 }, 55 55 series:[], /* array of Data */ … … 100 100 { 101 101 rowHour=Temp[T].split('T'); 102 Time[i].push(parseFloat(rowHour[1])); 102 Hour.push(parseFloat(rowHour[1])); 103 if(Hour[T]==0) 104 { 105 Hour.push(parseFloat(rowHour[1]+24)); 106 } 107 else if(Hour[T]==1) 108 { 109 Hour.push(parseFloat(rowHour[1]+24)); 110 } 111 else if(Hour[T]==2) 112 { 113 Hour.push(parseFloat(rowHour[1]+24)); 114 } 115 else if(Hour[T]==3) 116 { 117 Hour.push(parseFloat(rowHour[1]+24)); 118 } 119 else if(Hour[T]==4) 120 { 121 Hour.push(parseFloat(rowHour[1]+24)); 122 } 123 else if(Hour[T]==5) 124 { 125 Hour.push(parseFloat(rowHour[1]+24)); 126 } 103 127 } 128 Time[i].push(Hour[row]); 104 129 105 130 } … … 111 136 }) 112 137 } 113 $('#data').append(i + ": " + source[i] + ' GRAPH DATA ' + dataGraph[i] + ' Time ' + Time[i]);138 //$('#data').append(i + ": " + source[i] + ' GRAPH DATA ' + dataGraph[i] + ' Time ' + Time[i]); 114 139 } 115 140
Note:
See TracChangeset
for help on using the changeset viewer.