source: ether_statistics/web/resources/js/Wijmo.2.2.2/Wijmo-Complete/development-bundle/samples/barchart/dark.html @ 604

Last change on this file since 604 was 604, checked in by vmipsl, 12 years ago

images

File size: 3.5 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4        <title>barChart - Dark</title>
5        <meta charset="utf-8" />
6        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7        <meta name="description" content="%description%" />
8        <meta name="keywords" content="" />
9        <meta name="author" content="ComponentOne" />
10       
11        <link href="../../themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" />
12       
13        <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script>
14        <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>
15        <script src="../../external/globalize.min.js" type="text/javascript"></script>
16        <script src="../../external/raphael-min.js" type="text/javascript"></script>
17        <script src="../../wijmo/jquery.wijmo.raphael.js" type="text/javascript"></script>
18        <script src="../../wijmo/jquery.wijmo.wijchartcore.js" type="text/javascript"></script>
19        <script src="../../wijmo/jquery.wijmo.wijbarchart.js" type="text/javascript"></script>
20        <script id="scriptInit" type="text/javascript">
21                $(document).ready(function () {
22                        $("#wijbarchart").wijbarchart({
23                        legend: {visible: false},
24                        shadow: false,
25                        textStyle:
26                        {
27                                fill: "#b2b2b2",
28                                "font-weight" : "bold",
29                                "font-size":15
30                        },
31                                axis: {
32                                        y: {
33                                                labels: {
34                                                       
35                                                        style: {
36                                                                fill: "#242529",
37                                                                "font-size": 11
38                                                        }
39                                                },
40                                                gridMajor: {
41                                                        style:{stroke:"#353539","stroke-dasharray":"- "}
42                                                }
43                                        },
44                                        x: {
45                                                labels: {
46                                                        style: {
47                                                                fill: "#7f7f7f",
48                                                                "font-size": 11
49                                                        }
50                                                }
51                                        }
52                                },
53                        hint: {
54                                content: function () {
55                                        return this.data.label + '\n ' + this.y + '';
56                                }
57                        },
58                        header: {
59                                text: "Concurrent Steam Users (most recent 48 hours)"
60                        },
61                        seriesList: [{
62                                label: "US",
63                                legendEntry: true,
64                                                data: {
65                                                        x: ['10/27/2010 11:48:00',
66                                                         '10/27/2010 13:47:00',
67                                                          '10/27/2010 15:46:00',
68                                                          '10/27/2010 17:45:00',
69                                                           '10/27/2010 19:44:00',
70                                                                '10/27/2010 21:43:00',
71                                                                 '10/27/2010 23:41:00',
72                                                                  '10/28/2010 1:40:00',
73                                                                   '10/28/2010 3:39:00',
74                                                                        '10/28/2010 5:38:00',
75                                                                         '10/28/2010 7:37:00',
76                                                                          '10/28/2010 9:36:00',
77                                                                           '10/28/2010 11:35:00',
78                                                                                '10/28/2010 13:34:00',
79                                                                                 '10/28/2010 15:33:00'],
80                                                        y: [2665513,
81                                                         2300921,
82                                                          1663229,
83                                                           1622528,
84                                                                1472847,
85                                                                 1354026,
86                                                                  1348909,
87                                                                   1514946,
88                                                                        1746392,
89                                                                         2020481,
90                                                                          2312976,
91                                                                           2539210,
92                                                                                2657505,
93                                                                                 2369938,
94                                                                                  1869805]
95                                                }
96                        }],
97                        seriesStyles: [{
98                                fill: "180-#ff9900-#ff6600", stroke: "#ff7800", opacity: 0.8
99                        }],
100                        seriesHoverStyles: [{
101                                "stroke-width": 1.5, opacity: 1
102                        }]
103                });
104        });
105        </script>
106</head>
107<body class="demo-single">
108        <div class="container">
109                <div class="header">
110                        <h2>
111                                Dark</h2>
112                </div>
113                <div class="main demo">
114                        <!-- Begin demo markup -->
115                        <h3>
116                                Gamers Online</h3>
117                        <div id="wijbarchart" class="ui-widget ui-widget-content ui-corner-all" style="width: 756px; height: 475px; background: #242529;">
118                        </div>
119                        <!-- End demo markup -->
120                        <div class="demo-options">
121                                <!-- Begin options markup -->
122                                <!-- End options markup -->
123                        </div>
124                </div>
125                <div class="footer demo-description">
126                        <p>
127                       
128                This sample shows how to customize a wijbarchart theme with styles.
129                        </p>
130                </div>
131        </div>
132</body>
133</html>
Note: See TracBrowser for help on using the repository browser.