-
Notifications
You must be signed in to change notification settings - Fork 2
/
testhighchart.html
53 lines (44 loc) · 1.07 KB
/
testhighchart.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
45
46
47
48
49
50
51
52
53
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="refresh" content="5; url=/" />
<link rel=stylesheet type=text/css href="static/styles.css">
<link rel=icon type=image/gif href="static/favicon.ico">
<script type="text/javascript">
$(function () {
$('#container').highcharts({
chart: {
type: 'bar'
},
title: {
text: 'Fruit Consumption'
},
xAxis: {
categories: ['Apples', 'Bananas', 'Oranges']
},
yAxis: {
title: {
text: 'Fruit eaten'
}
},
series: [{
name: 'Jane',
data: [1, 0, 4]
}, {
name: 'John',
data: [5, 7, 3]
}],
});
});
</script>
<title>Smoker Control</title>
</head>
<body>
<h1>Smoker Control</h1>
<p></p>
<script src="static/Highcharts/js/highcharts.js"></script>
<script src="static/Highcharts/js/modules/exporting.js"></script>
<div id="container" style="width: 100%; height: 400px;"></div>
</body>
</html>