Changeset 16168
- Timestamp:
- 05/24/13 18:10:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16167 r16168 85 85 var DataVal = []; 86 86 var source=['Crab','Mrk 501','Mrk 421']; 87 var options = { 88 chart: { 89 renderTo: 'container' /* display to div Graph*/ 90 91 }, 92 93 xAxis: { 94 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"] 95 }, 96 series:[], /* array of Data */ 97 98 remove:function() 99 { 100 return false; 101 }, 102 103 exporting: { /*--------------------*/ 104 buttons: { /* */ 105 exportButton: { /* Export */ 106 menuItems: null, /* to */ 107 onclick: function() { /* PNG.file */ 108 this.exportChart(); /*--------------------*/ 109 } 110 } 111 } 112 }, 113 plotOptions : { 114 115 series : { 116 lineWidth: 3, 117 118 marker : { 119 enabled:false 120 } 121 } 122 } 123 }; 87 124 88 function loaddata() 125 89 { … … 255 219 function loadGraph(x,y) 256 220 { 221 var options = { 222 chart: { 223 renderTo: 'container' /* display to div Graph*/ 224 225 }, 226 227 xAxis: { 228 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"] 229 }, 230 series:[], /* array of Data */ 231 232 remove:function() 233 { 234 return false; 235 }, 236 237 exporting: { /*--------------------*/ 238 buttons: { /* */ 239 exportButton: { /* Export */ 240 menuItems: null, /* to */ 241 onclick: function() { /* PNG.file */ 242 this.exportChart(); /*--------------------*/ 243 } 244 } 245 } 246 }, 247 plotOptions : { 248 249 series : { 250 lineWidth: 3, 251 252 marker : { 253 enabled:false 254 } 255 } 256 } 257 }; 257 258 258 259 var chart = new Highcharts.Chart(options); … … 273 274 } 274 275 275 276 $('#Graph').load('chart.php?day='+day+"&month="+month+"&year="+year); 276 277 } 277 278 loadGraph(); 278 $('#Graph').load('chart.php?day='+day+"&month="+month+"&year="+year);279 279 280 280 281 });
Note:
See TracChangeset
for help on using the changeset viewer.