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