source: schedule/Module/Graph.js@ 16213

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