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
    $('#container').highcharts({
14
 
15
        chart: {
16
            type: 'bubble',
17
            plotBorderWidth: 1,
18
            zoomType: 'xy'
19
        },
20
 
21
        title: {
22
            text: 'Highcharts bubbles with radial gradient fill'
23
        },
24
 
25
        xAxis: {
26
            gridLineWidth: 1
27
        },
28
 
29
        yAxis: {
30
            startOnTick: false,
31
            endOnTick: false
32
        },
33
 
34
        series: [{
35
            data: [
36
                [9, 81, 63],
37
                [98, 5, 89],
38
                [51, 50, 73],
39
                [41, 22, 14],
40
                [58, 24, 20],
41
                [78, 37, 34],
42
                [55, 56, 53],
43
                [18, 45, 70],
44
                [42, 44, 28],
45
                [3, 52, 59],
46
                [31, 18, 97],
47
                [79, 91, 63],
48
                [93, 23, 23],
49
                [44, 83, 22]
50
            ],
51
            marker: {
52
                fillColor: {
53
                    radialGradient: { cx: 0.4, cy: 0.3, r: 0.7 },
54
                    stops: [
55
                        [0, 'rgba(255,255,255,0.5)'],
56
                        [1, Highcharts.Color(Highcharts.getOptions().colors[0]).setOpacity(0.5).get('rgba')]
57
                    ]
58
                }
59
            }
60
        }, {
61
            data: [
62
                [42, 38, 20],
63
                [6, 18, 1],
64
                [1, 93, 55],
65
                [57, 2, 90],
66
                [80, 76, 22],
67
                [11, 74, 96],
68
                [88, 56, 10],
69
                [30, 47, 49],
70
                [57, 62, 98],
71
                [4, 16, 16],
72
                [46, 10, 11],
73
                [22, 87, 89],
74
                [57, 91, 82],
75
                [45, 15, 98]
76
            ],
77
            marker: {
78
                fillColor: {
79
                    radialGradient: { cx: 0.4, cy: 0.3, r: 0.7 },
80
                    stops: [
81
                        [0, 'rgba(255,255,255,0.5)'],
82
                        [1, Highcharts.Color(Highcharts.getOptions().colors[1]).setOpacity(0.5).get('rgba')]
83
                    ]
84
                }
85
            }
86
        }]
87
 
88
    });
89
});
90
		</script>
91
	</head>
92
	<body>
93
<script src="../../js/highcharts.js"></script>
94
<script src="../../js/highcharts-more.js"></script>
95
 
96
<div id="container" style="min-width: 310px; max-width: 600px; height: 400px; margin: 0 auto;"></div>
97
	</body>
98
</html>