Subversion Repositories php-qbpwcf

Rev

Rev 23 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 liveuser 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
        <title>amCharts examples</title>
7
        <link rel="stylesheet" href="style.css" type="text/css">
8
        <script src="../amcharts/amcharts.js" type="text/javascript"></script>
9
        <script src="../amcharts/radar.js" type="text/javascript"></script>
10
 
11
        <script>
12
            var chart = AmCharts.makeChart("chartdiv", {
13
                type: "radar",
14
                dataProvider: [{
15
                    "country": "Czech Republic",
16
                        "litres": 156.9
17
                }, {
18
                    "country": "Ireland",
19
                        "litres": 131.1
20
                }, {
21
                    "country": "Germany",
22
                        "litres": 115.8
23
                }, {
24
                    "country": "Australia",
25
                        "litres": 109.9
26
                }, {
27
                    "country": "Austria",
28
                        "litres": 108.3
29
                }, {
30
                    "country": "UK",
31
                        "litres": 99
32
                }],
33
 
34
 
35
                categoryField: "country",
36
                startDuration: 2,
37
 
38
 
39
                valueAxes: [{
40
                    axisAlpha: 0.15,
41
                    minimum: 0,
42
                    dashLength: 3,
43
                    axisTitleOffset: 20,
44
                    gridCount: 5
45
                }],
46
 
47
                graphs: [{
48
 
49
                    valueField: "litres",
50
 
51
                    bullet: "round",
52
                    balloonText: "[[value]] litres of beer per year"
53
                }],
54
"export": {
55
  "enabled": true,
56
  "libs": {
57
    "autoLoad": false
58
  }
59
}
60
 
61
            });
62
        </script>
63
    </head>
64
 
65
    <body>
66
        <div id="chartdiv" style="width:600px; height:400px;"></div>
67
    </body>
68
 
69
</html>