Subversion-Projekte lars-tiefland.ci

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
875 lars 1
<!DOCTYPE HTML>
2
<html>
3
	<head>
4
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
		<title>Highcharts Example</title>
6
 
7
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
8
		<style type="text/css">
9
${demo.css}
10
		</style>
11
		<script type="text/javascript">
12
$(function () {
13
    $('#container').highcharts({
14
        chart: {
15
            type: 'line'
16
        },
17
        title: {
18
            text: 'Monthly Average Temperature'
19
        },
20
        subtitle: {
21
            text: 'Source: WorldClimate.com'
22
        },
23
        xAxis: {
24
            categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
25
        },
26
        yAxis: {
27
            title: {
28
                text: 'Temperature (°C)'
29
            }
30
        },
31
        plotOptions: {
32
            line: {
33
                dataLabels: {
34
                    enabled: true
35
                },
36
                enableMouseTracking: false
37
            }
38
        },
39
        series: [{
40
            name: 'Tokyo',
41
            data: [7.0, 6.9, 9.5, 14.5, 18.4, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
42
        }, {
43
            name: 'London',
44
            data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
45
        }]
46
    });
47
});
48
		</script>
49
	</head>
50
	<body>
51
<script src="../../js/highcharts.js"></script>
52
<script src="../../js/modules/exporting.js"></script>
53
 
54
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
55
 
56
	</body>
57
</html>