-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheatmap.html
47 lines (42 loc) · 1.89 KB
/
heatmap.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./assets/css/bootstrap.css">
<link rel="stylesheet" href="./assets/css/bootstrap-reboot.css">
<link rel="stylesheet" href="./assets/css/bootstrap-grid.css">
<title>PigData2019</title>
</head>
<body>
<form onsubmit="consultarAPIMicro();return false;" class="form-inline">
<div class="form-group mb-2">
<input type="date" id="inicio" class="form-control">
</div>
<div class="form-group mx-sm-3 mb-2">
<input type="date" id="fim" class="form-control">
</div>
<div class="form-group mx-sm-3 mb-2">
<select id="medicamento" class="form-control">
<option value="sensilate">Sensilate</option>
<option value="vigoraHomem">Vigora Homem</option>
<option value="dexprotenol">Dexprotenol</option>
<option value="hematofler">Hematofler</option>
<option value="pratiderm">Pratiderm</option>
<option value="vigoraMulher">Vigora Mulher</option>
<option value="vigoraOmega">Vigora Omega 3</option>
</select>
</div>
<button type="submit" class="btn btn-dark mb-2">Gerar Mapa De Calor</button>
</form>
<div id="mapa" style="float: left;">
</div>
</body>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="https://cdn.plot.ly/plotly-1.5.0.min.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.js" charset="utf-8"></script>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script src="assets/js/dados.js"></script>
<script src="assets/js/functions.js"></script>
</html>