]
});
- // workaround for unrendered dots
- setTimeout(function () { chart.flush(); }, 5000);
-
// reload data
setInterval(
function() {
chart.load({
url: api_base_url_sensors + beginend(days),
mimeType: 'json'
- })
+ });
+ chart.flush();
},
5 * 60 * 1000
);