Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
9 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
 
14
    $('#container').highcharts({
15
 
16
        chart: {
17
            polar: true
18
        },
19
 
20
        title: {
21
            text: 'Highcharts Polar Chart'
22
        },
23
 
24
        pane: {
25
            startAngle: 0,
26
            endAngle: 360
27
        },
28
 
29
        xAxis: {
30
            tickInterval: 45,
31
            min: 0,
32
            max: 360,
33
            labels: {
34
                formatter: function () {
35
                    return this.value + '°';
36
                }
37
            }
38
        },
39
 
40
        yAxis: {
41
            min: 0
42
        },
43
 
44
        plotOptions: {
45
            series: {
46
                pointStart: 0,
47
                pointInterval: 45
48
            },
49
            column: {
50
                pointPadding: 0,
51
                groupPadding: 0
52
            }
53
        },
54
 
55
        series: [{
56
            type: 'column',
57
            name: 'Column',
58
            data: [8, 7, 6, 5, 4, 3, 2, 1],
59
            pointPlacement: 'between'
60
        }, {
61
            type: 'line',
62
            name: 'Line',
63
            data: [1, 2, 3, 4, 5, 6, 7, 8]
64
        }, {
65
            type: 'area',
66
            name: 'Area',
67
            data: [1, 8, 2, 7, 3, 6, 4, 5]
68
        }]
69
    });
70
});
71
		</script>
72
	</head>
73
	<body>
74
<script src="../../js/highcharts.js"></script>
75
<script src="../../js/highcharts-more.js"></script>
76
<script src="../../js/modules/exporting.js"></script>
77
 
78
<div id="container" style="min-width: 310px; max-width: 400px; height: 400px; margin: 0 auto"></div>
79
 
80
	</body>
81
</html>