From 76f4e3c5b48c9e3d8e3c6bda856fc19adddc4bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 7 Feb 2014 13:10:35 +0100 Subject: [PATCH] Fixed issue where series color or axis change would note take immediate effect (needed a full refresh). --- src/app/panels/graphite/timeSeries.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/panels/graphite/timeSeries.js b/src/app/panels/graphite/timeSeries.js index c9623de267a..5dfad4f115a 100644 --- a/src/app/panels/graphite/timeSeries.js +++ b/src/app/panels/graphite/timeSeries.js @@ -10,13 +10,14 @@ function (_) { this.datapoints = opts.datapoints; this.info = opts.info; this.label = opts.info.alias; - this.color = opts.info.color; - this.yaxis = opts.info.yaxis; }; ts.ZeroFilled.prototype.getFlotPairs = function (fillStyle) { var result = []; + this.color = this.info.color; + this.yaxis = this.info.yaxis; + this.info.total = 0; this.info.max = null; this.info.min = 212312321312;