Removed flicker when refreshing a singlestat panel with spark line

This commit is contained in:
Torkel Ödegaard
2015-01-12 09:27:20 +01:00
parent ccbe055e5b
commit 93fb02509b

View File

@@ -134,9 +134,7 @@ function (angular, app, _, $) {
color: panel.sparkline.lineColor color: panel.sparkline.lineColor
}; };
setTimeout(function() { $.plot(plotCanvas, [plotSeries], options);
$.plot(plotCanvas, [plotSeries], options);
}, 10);
} }
function render() { function render() {