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
        xAxis: {
15
            min: -0.5,
16
            max: 5.5
17
        },
18
        yAxis: {
19
            min: 0
20
        },
21
        title: {
22
            text: 'Scatter plot with regression line'
23
        },
24
        series: [{
25
            type: 'line',
26
            name: 'Regression Line',
27
            data: [[0, 1.11], [5, 4.51]],
28
            marker: {
29
                enabled: false
30
            },
31
            states: {
32
                hover: {
33
                    lineWidth: 0
34
                }
35
            },
36
            enableMouseTracking: false
37
        }, {
38
            type: 'scatter',
39
            name: 'Observations',
40
            data: [1, 1.5, 2.8, 3.5, 3.9, 4.2],
41
            marker: {
42
                radius: 4
43
            }
44
        }]
45
    });
46
});
47
		</script>
48
	</head>
49
	<body>
50
<script src="../../js/highcharts.js"></script>
51
<script src="../../js/modules/exporting.js"></script>
52
 
53
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
54
 
55
	</body>
56
</html>