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/funnel.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": "funnel",
23
                "dataProvider": [
24
                {
25
                    "title": "Website visits",
26
                    "value": 200
27
                },
28
                {
29
                    "title": "Downloads",
30
                    "value": 123
31
                },
32
                {
33
                    "title": "Requested price list",
34
                    "value": 98
35
                },
36
                {
37
                    "title": "Contaced for more info",
38
                    "value": 72
39
                },
40
                {
41
                    "title": "Purchased",
42
                    "value": 35
43
                },
44
                {
45
                    "title": "Contacted for support",
46
                    "value": 35
47
                },
48
                {
49
                    "title": "Purchased additional products",
50
                    "value": 26
51
                }],
52
                "balloon":
53
                {
54
                    "fixedPosition": true
55
                },
56
                "legend":
57
                {},
58
                "valueField": "value",
59
                "titleField": "title",
60
                "marginRight": 240,
61
                "marginLeft": 50,
62
                "startX": -500,
63
                "depth3D": 100,
64
                "angle": 40,
65
                "outlineAlpha": 1,
66
                "outlineColor": "#FFFFFF",
67
                "outlineThickness": 2,
68
                "labelPosition": "right",
69
                "balloonText": "[[title]]: [[value]]n[[description]]",
70
                "responsive":
71
                {
72
                    "enabled": true
73
                }
74
            });
75
        </script>
76
    </head>
77
 
78
    <body>
79
        <div id="chartdiv" style="width: 100%; height: 100%;"></div>
80
    </body>
81
 
82
</html>