Commit 93fb0250 by Torkel Ödegaard

Removed flicker when refreshing a singlestat panel with spark line

parent ccbe055e
...@@ -134,9 +134,7 @@ function (angular, app, _, $) { ...@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment