1
0
Fork 0

reduced history amount to 14 days

This commit is contained in:
scottashton 2014-03-05 16:45:57 +01:00
parent 371c3a84f5
commit 28ef8d5d41
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@
figures.push(group + "." + id);
}
self.getStatisticHistory({
startDate : (new Date().getTime() - 14 * 24 * 60 * 60 * 1000) / 1000,
figures : figures
});
var figs = [{identifier : "uptime", group : "server"}];
@ -341,6 +342,7 @@
if (createDiv) {
self.renderHttpGroup(figure);
}
chart.updateDateWindow();
chart.graph = new Dygraph(
document.getElementById(div+"LineChart"),