From 93fb02509b75d42ccc73b4e9f530f3a0ac941cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 12 Jan 2015 09:27:20 +0100 Subject: [PATCH] Removed flicker when refreshing a singlestat panel with spark line --- src/app/panels/singlestat/singleStatPanel.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/panels/singlestat/singleStatPanel.js b/src/app/panels/singlestat/singleStatPanel.js index 80e3fa1391d..49c248bc5cd 100644 --- a/src/app/panels/singlestat/singleStatPanel.js +++ b/src/app/panels/singlestat/singleStatPanel.js @@ -134,9 +134,7 @@ function (angular, app, _, $) { color: panel.sparkline.lineColor }; - setTimeout(function() { - $.plot(plotCanvas, [plotSeries], options); - }, 10); + $.plot(plotCanvas, [plotSeries], options); } function render() {