source: schedule/js/Graph.js@ 17545

Last change on this file since 17545 was 16926, checked in by tanio, 11 years ago
File size: 880 bytes
Line 
1function Graph()
2{
3
4 var options = {
5 chart: {
6 renderTo: 'Graph'/* display to div Graph*/
7
8 },
9
10 xAxis: {
11 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"]
12 },
13 series:[], /* array of Data */
14
15 remove:function()
16 {
17 return false;
18 },
19
20 exporting: { /*--------------------*/
21 buttons: { /* */
22 exportButton: { /* Export */
23 menuItems: null, /* to */
24 onclick: function() { /* PNG.file */
25 this.exportChart(); /*--------------------*/
26 }
27 }
28 }
29 },
30 plotOptions : {
31
32 series : {
33 lineWidth: 3,
34
35 marker : {
36 enabled:false
37 }
38 }
39 }
40 };
41 var chart=new Highcharts.Chart(options);
42}
Note: See TracBrowser for help on using the repository browser.