Changeset 15915
- Timestamp:
- 05/21/13 16:17:45 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15914 r15915 149 149 });*/ 150 150 //var chart = new Highcharts.Chart(options); 151 $('#container').highcharts({ 151 var chart = new Highcharts.Chart({ 152 chart: { 153 renderTo: 'container' /* display to div Graph*/ 154 }, 155 152 156 xAxis: { 153 categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']157 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"] 154 158 }, 155 series: [] 159 series:[], /* array of Data */ 160 161 remove:function() 162 { 163 return false; 164 }, 165 166 exporting: { /*--------------------*/ 167 buttons: { /* */ 168 exportButton: { /* Export */ 169 menuItems: null, /* to */ 170 onclick: function() { /* PNG.file */ 171 this.exportChart(); /*--------------------*/ 172 } 173 } 174 } 175 } 176 177 178 156 179 }); 157 180 158 181 // the button handler 159 182 //newdata=[[21,4],[5,6],[7,8],[3,41]]; 160 var chart = $('#container').highcharts();183 161 184 if (chart.series) { 162 185 chart.addSeries({name:"wa",
Note:
See TracChangeset
for help on using the changeset viewer.