Changeset 15953
- Timestamp:
- 05/21/13 18:01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15952 r15953 80 80 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"] 81 81 }, 82 series:[ ], /* array of Data */82 series:[{data:[]}], /* array of Data */ 83 83 84 84 remove:function() … … 152 152 else 153 153 finaldata.push(parseFloat(arrTime[i])+'.'+parseFloat(Temp[i])); 154 154 155 } 155 156 for(var i=0;i<finaldata.length;i++) … … 169 170 newdata1=newdata; 170 171 171 options.series.push({172 /*options.series.push({ 172 173 173 174 data:[parseFloat(finaldata),parseFloat(newdata1)] 174 }); 175 });*/ 176 for(var i=0;i<finaldata.length;i++) 177 { 178 options.series[0].addPoint({ 179 x:finaldata[i], 180 y:newdata[i] 181 }) 182 } 175 183 var chart = new Highcharts.Chart(options); 176 184
Note:
See TracChangeset
for help on using the changeset viewer.