Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
5 lars 1
<html>
2
 
3
    <head>
4
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
        <!-- AmCharts includes -->
8
        <script src="http://www.amcharts.com/lib/3/amcharts.js"></script>
9
        <script src="http://www.amcharts.com/lib/3/radar.js"></script>
10
        <!-- Export plugin includes and styles -->
11
        <script src="../export.js"></script>
12
        <link type="text/css" href="../export.css" rel="stylesheet">
13
        <style>
14
            body,
15
            html {
16
                height: 100%;
17
                padding: 0;
18
                margin: 0;
19
                overflow: hidden;
20
                font-size: 11px;
21
                font-family: Verdana;
22
            }
23
 
24
            #chartdiv {
25
                width: 100%;
26
                height: 100%;
27
            }
28
        </style>
29
        <script type="text/javascript">
30
            var chart = AmCharts.makeChart("chartdiv",
31
            {
32
                "type": "radar",
33
                "dataProvider": [
34
                {
35
                    "country": "Czech Republic",
36
                    "litres": 156.9,
37
                    "litres2": 182.1
38
                },
39
                {
40
                    "country": "Ireland",
41
                    "litres": 131.1,
42
                    "litres2": 129.2
43
                },
44
                {
45
                    "country": "Germany",
46
                    "litres": 115.8,
47
                    "litres2": 170.9
48
                },
49
                {
50
                    "country": "Australia",
51
                    "litres": 109.9,
52
                    "litres2": 120.1
53
                },
54
                {
55
                    "country": "Austria",
56
                    "litres": 108.3,
57
                    "litres2": 93.8
58
                },
59
                {
60
                    "country": "UK",
61
                    "litres": 99,
62
                    "litres2": 102
63
                }],
64
                "categoryField": "country",
65
                "startDuration": 2,
66
                "valueAxes": [
67
                {
68
                    "axisAlpha": 0.15,
69
                    "minimum": 0,
70
                    "dashLength": 3,
71
                    "axisTitleOffset": 20,
72
                    "gridCount": 5
73
                }],
74
                "graphs": [
75
                {
76
                    "valueField": "litres",
77
                    "title": "Litres (2014)",
78
                    "bullet": "round",
79
                    "lineThickness": 2,
80
                    "balloonText": "[[value]] litres of beer per year"
81
                },
82
                {
83
                    "valueField": "litres2",
84
                    "title": "Litres (2015)",
85
                    "bullet": "round",
86
                    "lineThickness": 2,
87
                    "balloonText": "[[value]] litres of beer per year"
88
                }],
89
                "legend":
90
                {
91
                    "align": "center"
92
                },
93
                "export":
94
                {
95
                    "enabled": true
96
                }
97
            });
98
        </script>
99
    </head>
100
 
101
    <body>
102
        <div id="chartdiv"></div>
103
    </body>
104
 
105
</html>