Line | |
---|
1 | $(document).ready(function(){
|
---|
2 | var chart = new Highcharts.Chart({
|
---|
3 | chart: {
|
---|
4 | renderTo: 'container' /* display to div Graph*/
|
---|
5 | },
|
---|
6 |
|
---|
7 | xAxis: {
|
---|
8 | labels: {
|
---|
9 | rotation: -45,
|
---|
10 | align: 'right',
|
---|
11 | },
|
---|
12 | categories:["","","","","","","","19:00","20:00","21:00","22:00","23:00","24:00","1:00","2:00","3:00","4:00","5:00","6:00","7:00"]},
|
---|
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 |
|
---|
31 | plotOptions:
|
---|
32 | {
|
---|
33 | series: {
|
---|
34 | marker: {
|
---|
35 | enabled: false,
|
---|
36 |
|
---|
37 | },
|
---|
38 |
|
---|
39 | events: {
|
---|
40 | legendItemClick: function(event) {
|
---|
41 |
|
---|
42 |
|
---|
43 | }
|
---|
44 | }
|
---|
45 |
|
---|
46 | }
|
---|
47 | },
|
---|
48 |
|
---|
49 |
|
---|
50 |
|
---|
51 | });
|
---|
52 | }); |
---|
Note:
See
TracBrowser
for help on using the repository browser.