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>Highstock 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
    // Notice that the dataset has missing data
14
    $.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=range.json&callback=?', function (data) {
15
 
16
        $('#container').highcharts('StockChart', {
17
 
18
            chart: {
19
                type: 'areasplinerange'
20
            },
21
 
22
            rangeSelector: {
23
                selected: 2
24
            },
25
 
26
            title: {
27
                text: 'Temperature variation by day'
28
            },
29
 
30
            tooltip: {
31
                valueSuffix: '°C'
32
            },
33
 
34
            series: [{
35
                name: 'Temperatures',
36
                data: data
37
            }]
38
 
39
        });
40
    });
41
 
42
});
43
		</script>
44
	</head>
45
	<body>
46
<script src="../../js/highstock.js"></script>
47
<script src="../../js/highcharts-more.js"></script>
48
<script src="../../js/modules/exporting.js"></script>
49
 
50
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
51
 
52
	</body>
53
</html>