This repository has been archived on 2023-02-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Sergey Sharybin 34c6f867b0 Initial support for history over device scenes
This patch will generate html file which contains per-scene graph ofg all device
statistics over all period of time. There are still some possible tweaks to look
and feel of the graphs, but it's good enough for now.
2017-08-27 21:25:46 +02:00

33 lines
1.1 KiB
HTML

<!doctype html>
<html>
<head>
<title>Benchmark Results</title>
<script src="source/chart.bundle.js"></script>
<script src="source/utils.js"></script>
<script src="source/jquery.min.js"></script>
<script src="source/jquery.jqGrid.min.js"></script>
<script src="source/bootstrap.min.js"></script>
<script src="dataset/history.js"></script>
<link rel="stylesheet" type="text/css" href="style/main.css">
<link rel="stylesheet" type="text/css" href="style/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="style/ui.jqgrid-bootstrap.css" />
</head>
<body>
<div id="container">
</div>
<br><br>
<table id="spreadsheet"></table>
<script type="text/javascript">
window.onload = function() {
var container = document.getElementById("container");
for (scene_name of data.scenes) {
var canvas = document.createElement("canvas");
container.appendChild(canvas);
var chart_ctx = canvas.getContext("2d");
buildHistoryChart(chart_ctx, data, scene_name);
}
};
</script>
</body>
</html>