Changeset 16296
- Timestamp:
- 05/27/13 15:27:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16295 r16296 124 124 if (xmlhttp.readyState==4 && xmlhttp.status==200) 125 125 { 126 var options = { 127 chart: { 128 renderTo: 'container' /* display to div Graph*/ 129 130 }, 131 132 xAxis: { 133 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"] 134 }, 135 series:[], /* array of Data */ 136 137 remove:function() 138 { 139 return false; 140 }, 141 142 exporting: { /*--------------------*/ 143 buttons: { /* */ 144 exportButton: { /* Export */ 145 menuItems: null, /* to */ 146 onclick: function() { /* PNG.file */ 147 this.exportChart(); /*--------------------*/ 148 } 149 } 150 } 151 }, 152 plotOptions : { 153 154 series : { 155 lineWidth: 3, 156 157 marker : { 158 enabled:false 159 } 160 } 161 } 162 163 164 165 }; 166 var chart = new Highcharts.Chart(options); 126 167 127 YaxisData[src] = new Array(); 168 128 Timedata[src] = new Array(); … … 324 284 325 285 } 286 var options = { 287 chart: { 288 renderTo: 'container' /* display to div Graph*/ 289 290 }, 291 292 xAxis: { 293 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"] 294 }, 295 series:[], /* array of Data */ 296 297 remove:function() 298 { 299 return false; 300 }, 301 302 exporting: { /*--------------------*/ 303 buttons: { /* */ 304 exportButton: { /* Export */ 305 menuItems: null, /* to */ 306 onclick: function() { /* PNG.file */ 307 this.exportChart(); /*--------------------*/ 308 } 309 } 310 } 311 }, 312 plotOptions : { 313 314 series : { 315 lineWidth: 3, 316 317 marker : { 318 enabled:false 319 } 320 } 321 } 322 323 324 325 }; 326 var chart = new Highcharts.Chart(options); 326 327 327 328 for(var src=0;src<source.length;src++)
Note:
See TracChangeset
for help on using the changeset viewer.