Subversion-Projekte lars-tiefland.ci

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
776 lars 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
<html>
3
 
4
    <head>
5
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
7
        <title>amCharts Responsive Example</title>
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
        <script src="../responsive.min.js"></script>
11
        <style>
12
            body,
13
            html {
14
                height: 100%;
15
                padding: 0;
16
                margin: 0;
17
            }
18
        </style>
19
        <script>
20
            var chart = AmCharts.makeChart("chartdiv",
21
            {
22
                "type": "radar",
23
                "dataProvider": [
24
                {
25
                    "country": "Czech Republic",
26
                    "litres": 156.9
27
                },
28
                {
29
                    "country": "Ireland",
30
                    "litres": 131.1
31
                },
32
                {
33
                    "country": "Germany",
34
                    "litres": 115.8
35
                },
36
                {
37
                    "country": "Australia",
38
                    "litres": 109.9
39
                },
40
                {
41
                    "country": "Austria",
42
                    "litres": 108.3
43
                },
44
                {
45
                    "country": "UK",
46
                    "litres": 99
47
                }],
48
                "categoryField": "country",
49
                "startDuration": 2,
50
                "valueAxes": [
51
                {
52
                    "axisAlpha": 0.15,
53
                    "minimum": 0,
54
                    "dashLength": 3,
55
                    "axisTitleOffset": 20,
56
                    "gridCount": 5
57
                }],
58
                "graphs": [
59
                {
60
                    "valueField": "litres",
61
                    "title": "Litres",
62
                    "bullet": "round",
63
                    "balloonText": "[[value]] litres of beer per year"
64
                }],
65
                "legend":
66
                {},
67
                "responsive":
68
                {
69
                    "enabled": true
70
                }
71
            });
72
        </script>
73
    </head>
74
 
75
    <body>
76
        <div id="chartdiv" style="width: 100%; height: 100%;"></div>
77
    </body>
78
 
79
</html>