Removed flicker when refreshing a singlestat panel with spark line
This commit is contained in:
@@ -134,9 +134,7 @@ function (angular, app, _, $) {
|
||||
color: panel.sparkline.lineColor
|
||||
};
|
||||
|
||||
setTimeout(function() {
|
||||
$.plot(plotCanvas, [plotSeries], options);
|
||||
}, 10);
|
||||
$.plot(plotCanvas, [plotSeries], options);
|
||||
}
|
||||
|
||||
function render() {
|
||||
|
||||
Reference in New Issue
Block a user