Add interval settings

This commit is contained in:
2019-07-07 22:43:49 +02:00
parent e45cb6e45b
commit 0379027160
2 changed files with 2 additions and 2 deletions

View File

@@ -249,7 +249,7 @@ var DetailsWindow = {
updateGraph: function(fileID) {
var that = this;
console.log("updating graph "+fileID);
$.get(apiEndpoint+"/file/" + fileID + "/timeseries", function(response){
$.get(apiEndpoint+"/file/" + fileID + "/timeseries?interval=60", function(response){
console.log(response);
if (response.success) {
that.graph.data.labels = response.labels;