Changeset 16182 for schedule/Module/calendar.php
- Timestamp:
- 05/24/13 18:53:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16181 r16182 46 46 ?> 47 47 48 // 20130507: { klass: "highlight", tooltip: "%Y/%m/%d (%A)<br />That was yesterday" }, 49 // 20130508: { klass: "highlight", tooltip: "And this is TODAY" } 50 <?php 48 <?php 51 49 } 52 50 ?> 53 51 }; 54 52 // 20130507: { klass: "highlight", tooltip: "%Y/%m/%d (%A)<br />That was yesterday" }, 53 // 20130508: { klass: "highlight", tooltip: "And this is TODAY" } 54 55 55 function getDateInfo(date, wantsClassName) { 56 56 var as_number = Calendar.dateToInt(date); … … 79 79 var Time = [[]]; 80 80 var DataValue = [[]]; 81 var Time1 = [];var options = { 82 chart: { 83 renderTo: 'container' 84 /* display to div Graph*/ 85 86 }, 87 88 xAxis: { 89 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"] 90 }, 91 series:[], /* array of Data */ 92 93 remove:function() 94 { 95 return false; 96 }, 97 98 exporting: { /*--------------------*/ 99 buttons: { /* */ 100 exportButton: { /* Export */ 101 menuItems: null, /* to */ 102 onclick: function() { /* PNG.file */ 103 this.exportChart(); /*--------------------*/ 104 } 105 } 106 } 107 }, 108 plotOptions : { 109 110 series : { 111 lineWidth: 3, 112 113 marker : { 114 enabled:false 115 } 116 } 117 } 118 }; 81 var Time1 = []; 119 82 var TimeColon = []; 120 83 var MinTime = []; … … 123 86 var source=['Crab','Mrk 501','Mrk 421']; 124 87 125 function loaddata( DataValue,Time)88 function loaddata() 126 89 { 127 90 … … 241 204 } 242 205 243 //GrapData(Data,Time);206 GrapData(DataValue,Time); 244 207 245 208 } … … 260 223 function loadGraph() 261 224 { 262 loaddata(DataValue,Time); 225 loaddata(); 226 var options = { 227 chart: { 228 renderTo: 'container' 229 /* display to div Graph*/ 230 231 }, 232 233 xAxis: { 234 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"] 235 }, 236 series:[], /* array of Data */ 237 238 remove:function() 239 { 240 return false; 241 }, 242 243 exporting: { /*--------------------*/ 244 buttons: { /* */ 245 exportButton: { /* Export */ 246 menuItems: null, /* to */ 247 onclick: function() { /* PNG.file */ 248 this.exportChart(); /*--------------------*/ 249 } 250 } 251 } 252 }, 253 plotOptions : { 254 255 series : { 256 lineWidth: 3, 257 258 marker : { 259 enabled:false 260 } 261 } 262 } 263 }; 263 264 var chart = new Highcharts.Chart(options); 264 265 for(var src=0;src<i;src++)
Note:
See TracChangeset
for help on using the changeset viewer.