2020-01-20 17:46:54 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<title>Agir Statool</title>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta content="April" name="keywords" />
|
|
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="agirstatool.css" />
|
|
|
|
<script src="/commons/sorttable.js" />
|
|
|
|
<script src="Chart.bundle.min.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2020-01-22 18:13:34 +01:00
|
|
|
<div style="width: 100%; height: 100%; text-align: center; margin: 0 0; border: 1px solid red;">
|
2020-01-20 17:46:54 +01:00
|
|
|
<canvas id="myChart" width="100%" height="100%"></canvas>
|
|
|
|
<script>
|
|
|
|
var ctx = document.getElementById('myChart');
|
|
|
|
var myChart = new Chart(ctx,
|
|
|
|
{
|
|
|
|
type: 'line',
|
|
|
|
data:
|
|
|
|
{
|
2020-01-21 20:07:49 +01:00
|
|
|
labels: ['S01', 'S02', 'S03', 'S04', 'S05'],
|
2020-01-20 17:46:54 +01:00
|
|
|
datasets:
|
2020-01-20 23:10:41 +01:00
|
|
|
[
|
|
|
|
{
|
|
|
|
label: 'Created',
|
|
|
|
data: [2, 9, 13, 15, 22, 23],
|
|
|
|
backgroundColor: 'rgba(255, 99, 132, 0.2)',
|
|
|
|
borderColor: 'rgba(255, 99, 132, 1)',
|
|
|
|
borderWidth: 1,
|
|
|
|
fill: true,
|
|
|
|
/* cubicInterpolationMode: 'monotone', */
|
2020-01-21 20:07:49 +01:00
|
|
|
lineTension: 0,
|
|
|
|
pointBorderWidth: 0.00000001
|
2020-01-20 23:10:41 +01:00
|
|
|
},
|
|
|
|
{
|
2020-01-22 11:11:14 +01:00
|
|
|
label: 'Concluded',
|
2020-01-21 20:07:49 +01:00
|
|
|
data: [1, 5, 9, 13, 15, 22] ,
|
2020-01-20 23:10:41 +01:00
|
|
|
backgroundColor: 'rgba(75, 192, 192, 0.2)',
|
|
|
|
borderColor: 'rgba(75, 192, 192, 1)',
|
|
|
|
borderWidth: 1,
|
|
|
|
fill: true,
|
2020-01-21 20:07:49 +01:00
|
|
|
lineTension: 0,
|
|
|
|
pointBorderWidth: 0.00000001
|
2020-01-20 23:10:41 +01:00
|
|
|
}
|
|
|
|
]
|
2020-01-20 17:46:54 +01:00
|
|
|
},
|
|
|
|
options:
|
|
|
|
{
|
|
|
|
maintainAspectRatio: false,
|
2020-01-22 12:09:49 +01:00
|
|
|
title: {
|
|
|
|
display: false,
|
|
|
|
text: 'Min and Max Settings'
|
|
|
|
},
|
2020-01-20 17:46:54 +01:00
|
|
|
scales:
|
|
|
|
{
|
|
|
|
xAxes:
|
|
|
|
[{
|
|
|
|
ticks:
|
|
|
|
{
|
2020-01-22 12:09:49 +01:00
|
|
|
beginAtZero: false
|
2020-01-20 17:46:54 +01:00
|
|
|
}
|
|
|
|
}],
|
|
|
|
yAxes:
|
|
|
|
[{
|
|
|
|
ticks:
|
|
|
|
{
|
2020-01-22 12:09:49 +01:00
|
|
|
beginAtZero: false,
|
|
|
|
suggestedMax: 10
|
2020-01-20 17:46:54 +01:00
|
|
|
}
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|