Changeset 16294
- Timestamp:
- 05/27/13 15:23:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16293 r16294 106 106 var newtime; 107 107 var source=['Mrk 421','Crab']; 108 var options = { 109 chart: { 110 renderTo: 'container' /* display to div Graph*/ 111 112 }, 113 114 xAxis: { 115 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"] 116 }, 117 series:[], /* array of Data */ 118 119 remove:function() 120 { 121 return false; 122 }, 123 124 exporting: { /*--------------------*/ 125 buttons: { /* */ 126 exportButton: { /* Export */ 127 menuItems: null, /* to */ 128 onclick: function() { /* PNG.file */ 129 this.exportChart(); /*--------------------*/ 130 } 131 } 132 } 133 }, 134 plotOptions : { 135 136 series : { 137 lineWidth: 3, 138 139 marker : { 140 enabled:false 141 } 142 } 143 } 144 145 146 147 }; 108 148 109 149 110 var xmlhttp; … … 163 124 if (xmlhttp.readyState==4 && xmlhttp.status==200) 164 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 }; 165 166 YaxisData[src] = new Array(); 166 167 Timedata[src] = new Array();
Note:
See TracChangeset
for help on using the changeset viewer.