source: ether_statistics/web/resources/js/Wijmo.2.2.2/Wijmo-Complete/development-bundle/samples/linechart/areaSpline.html @ 598

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

images

File size: 2.5 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4        <title>Area Spline Chart</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.wijlinechart.js" type="text/javascript"></script>
20        <script id="scriptInit" type="text/javascript">
21                $(document).ready(function () {
22                        $("#wijareachart").wijlinechart({
23                                type: "area",
24                                showChartLabels: false,
25                                header: {
26                                        text: "Twitter trends in October 2010"
27                                },
28                                hint: {
29                                        content: function () {
30                                                return this.y;
31                                        },
32                                        offsetY: -10
33                                },
34                                seriesList: [
35                                        {
36                                                label: "#Wijmo",
37                                                fitType: "spline",
38                                                legendEntry: true,
39                                                data: {
40                                                        x: [new Date("10/21/2010"), new Date("10/22/2010"), new Date("10/23/2010"), new Date("10/24/2010"), new Date("10/25/2010"), new Date("10/26/2010"), new Date("10/27/2010"), new Date("10/28/2010"), new Date("10/29/2010")],
41                                                        y: [12, 30, 6, 22, 14, 25, 41, 14, 3]
42                                                }
43                                        }
44                                ],
45                                seriesStyles: [{
46                                        stroke: "#00a6dd", "stroke-width": 5, opacity: 0.8
47                                }],
48                                seriesHoverStyles: [{
49                                        "stroke-width": 8, opacity: 1
50                                }]
51                        });
52                });
53        </script>
54</head>
55<body class="demo-single">
56        <div class="container">
57                <div class="header">
58                        <h2>
59                                Area Spline Chart</h2>
60                </div>
61                <div class="main demo">
62                        <!-- Begin demo markup -->
63                        <!-- End demo markup -->
64                        <div class="demo-options">
65                                <!-- Begin options markup -->
66                        <div id="wijareachart" class="ui-widget ui-widget-content ui-corner-all" style="width: 756px; height: 475px">
67                        </div>
68                                <!-- End options markup -->
69                        </div>
70                </div>
71                <div class="footer demo-description">
72                        <p>
73                                This sample demonstrates how to create an area spline chart.</p>
74                </div>
75        </div>
76</body>
77</html>
Note: See TracBrowser for help on using the repository browser.