Changeset 16209 for schedule/Module/calendar.php
- Timestamp:
- 05/25/13 00:06:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16208 r16209 205 205 } 206 206 207 Graph();208 function Charts( options)207 208 function Charts() 209 209 { 210 var options = { 211 chart: { 212 renderTo: 'container' /* display to div Graph*/ 213 214 }, 215 216 xAxis: { 217 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"] 218 }, 219 series:[], /* array of Data */ 220 221 remove:function() 222 { 223 return false; 224 }, 225 226 exporting: { /*--------------------*/ 227 buttons: { /* */ 228 exportButton: { /* Export */ 229 menuItems: null, /* to */ 230 onclick: function() { /* PNG.file */ 231 this.exportChart(); /*--------------------*/ 232 } 233 } 234 } 235 }, 236 plotOptions : { 237 238 series : { 239 lineWidth: 3, 240 241 marker : { 242 enabled:false 243 } 244 } 245 } 246 }; 210 247 var chart=new Highcharts.Chart(options); 211 248 for(var src=0;src<i;src++) … … 224 261 225 262 } 226 return chart;263 return Charts; 227 264 } 228 Charts();265 229 266 230 267 } … … 235 272 236 273 } 274 Charts(); 237 275 $('#Graph').load('chart.php?day='+day+"&month="+month+"&year="+year); 238 276
Note:
See TracChangeset
for help on using the changeset viewer.