Fixed issue where series color or axis change would note take immediate effect (needed a full refresh).

This commit is contained in:
Torkel Ödegaard 2014-02-07 13:10:35 +01:00
parent adb97a0f3e
commit 76f4e3c5b4

View File

@ -10,13 +10,14 @@ function (_) {
this.datapoints = opts.datapoints; this.datapoints = opts.datapoints;
this.info = opts.info; this.info = opts.info;
this.label = opts.info.alias; this.label = opts.info.alias;
this.color = opts.info.color;
this.yaxis = opts.info.yaxis;
}; };
ts.ZeroFilled.prototype.getFlotPairs = function (fillStyle) { ts.ZeroFilled.prototype.getFlotPairs = function (fillStyle) {
var result = []; var result = [];
this.color = this.info.color;
this.yaxis = this.info.yaxis;
this.info.total = 0; this.info.total = 0;
this.info.max = null; this.info.max = null;
this.info.min = 212312321312; this.info.min = 212312321312;