-
Notifications
You must be signed in to change notification settings - Fork 0
/
charts.html
44 lines (34 loc) · 1.24 KB
/
charts.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
</head>
<body>
<div id="container" style="height: 400px; margin: auto; min-width: 310px; max-width: 600px"></div>
<script>
var winsDriver = [41, 1, 6, 13, 15, 1, 3, 5, 20, 3, 13, 1, 6, 4, 5, 25, 1, 1, 2, 1, 1, 2, 27, 1, 10, 3, 11, 8, 1, 3, 12, 34, 14, 1, 31, 9, 2, 1, 14, 7, 6, 3, 1, 8, 1, 6, 1, 8, 2, 1, 32, 1, 1, 11, 16, 1, 12, 2, 3, 40, 1, 5, 3, 11, 1, 14, 20, 6, 1, 10, 6, 1, 23, 4, 1, 51, 2, 3, 7, 1, 2, 1, 10, 2, 10, 1, 6, 5, 22, 4, 5, 2, 1, 2, 24, 1, 91, 1, 1, 3, 25, 12, 2, 1, 1];
$('#container').highcharts({
chart: {
type: 'boxplot'
},
title: {
text: 'Highcharts Box Plot Example'
},
legend: {
enabled: false
},
yAxis: {
title: {
text: 'Observations'
}
},
series: [{
name: 'Observations',
data: [winsDriver]
}]
});
</script>
</body>
</html>