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/xy.js" type="text/javascript"></script>
10
 
11
        <script>
12
            var chart = AmCharts.makeChart("chartdiv", {
13
              "type": "xy",
14
              "startDuration": 1.5,
15
              "trendLines": [],
16
              "graphs": [
17
                {
18
                  "balloonText": "x:<b>[[x]]</b> y:<b>[[y]]</b><br>value:<b>[[value]]</b>",
19
                  "bullet": "diamond",
20
                  "id": "AmGraph-1",
21
                  "lineAlpha": 0,
22
                  "lineColor": "#b0de09",
23
                  "valueField": "value",
24
                  "xField": "x",
25
                  "yField": "y"
26
                },
27
                {
28
                  "balloonText": "x:<b>[[x]]</b> y:<b>[[y]]</b><br>value:<b>[[value]]</b>",
29
                  "bullet": "round",
30
                  "id": "AmGraph-2",
31
                  "lineAlpha": 0,
32
                  "lineColor": "#fcd202",
33
                  "valueField": "value2",
34
                  "xField": "x2",
35
                  "yField": "y2"
36
                }
37
              ],
38
              "guides": [
39
                {
40
                  "fillAlpha": 0.3,
41
                  "fillColor": "#ff8000",
42
                  "id": "Guide-1",
43
                  "toValue": -2,
44
                  "value": -8,
45
                  "valueAxis": "ValueAxis-2"
46
                }
47
              ],
48
              "valueAxes": [
49
                {
50
                  "id": "ValueAxis-1",
51
                  "axisAlpha": 0
52
                },
53
                {
54
                  "id": "ValueAxis-2",
55
                  "axisAlpha": 0,
56
                  "position": "bottom"
57
                }
58
              ],
59
              "allLabels": [],
60
              "balloon": {},
61
              "titles": [],
62
              "chartScrollbar":{},
63
              "dataProvider": [
64
                {
65
                  "y": 10,
66
                  "x": 14,
67
                  "value": 59,
68
                  "y2": -5,
69
                  "x2": -3,
70
                  "value2": 44
71
                },
72
                {
73
                  "y": 5,
74
                  "x": 3,
75
                  "value": 50,
76
                  "y2": -15,
77
                  "x2": -8,
78
                  "value2": 12
79
                },
80
                {
81
                  "y": -10,
82
                  "x": -3,
83
                  "value": 19,
84
                  "y2": -4,
85
                  "x2": 6,
86
                  "value2": 35
87
                },
88
                {
89
                  "y": -6,
90
                  "x": 5,
91
                  "value": 65,
92
                  "y2": -5,
93
                  "x2": -6,
94
                  "value2": 168
95
                },
96
                {
97
                  "y": 15,
98
                  "x": -4,
99
                  "value": 92,
100
                  "y2": -10,
101
                  "x2": -8,
102
                  "value2": 102
103
                },
104
                {
105
                  "y": 13,
106
                  "x": 1,
107
                  "value": 8,
108
                  "y2": -2,
109
                  "x2": -3,
110
                  "value2": 41
111
                },
112
                {
113
                  "y": 1,
114
                  "x": 6,
115
                  "value": 35,
116
                  "y2": 0,
117
                  "x2": -3,
118
                  "value2": 16
119
                }
120
              ]
121
            });
122
 
123
        </script>
124
    </head>
125
 
126
    <body>
127
        <div id="chartdiv" style="width: 600px; height: 400px;"></div>
128
    </body>
129
 
130
</html>