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