-
Notifications
You must be signed in to change notification settings - Fork 3
/
template.html
60 lines (60 loc) · 1.44 KB
/
template.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
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="js/highstock.js"></script>
<script src="${theme}"></script>
</head>
<body>
<div id="container" style="position:absolute;top:0;right:0;bottom:0; left:0;"></div>
<script>
$(function () {
$('#container').highcharts({
chart: {
type: 'spline'
},
credits: {
enabled: 'true',
text: 'Powered by Leonid Logvinov',
href: 'mailto:logvinov.leon@yandex.ru'
},
title: {
text: 'Kucharzuk'
},
yAxis: {
type: 'datetime',
title: {
text: 'Time'
}
},
xAxis: {
type: 'datetime',
tickInterval: 24 * 3600 * 1000
},
rangeSelector: {
enabled: true
},
legend: {
enabled: false
},
navigator: {
enabled: true
},
tooltip: {
pointFormat: ""
},
series: [
{
data: [
${data}
]
}
]
});
})
;
</script>
</body>
</html>