From cb3eef87677ae752928555057458eb6761ff5f4d Mon Sep 17 00:00:00 2001 From: Frank Wuerthwein Date: Fri, 27 Feb 2009 03:35:08 +0000 Subject: Fix colors for DSs --- src/lib/rrdFlot.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/lib/rrdFlot.js b/src/lib/rrdFlot.js index 1812cd4..2a0ad9a 100644 --- a/src/lib/rrdFlot.js +++ b/src/lib/rrdFlot.js @@ -192,23 +192,31 @@ rrdFlot.prototype.drawFlotGraph = function() { // now get the list of selected DSs var ds_idxs=[]; + var ds_colors=[]; var oCB=document.getElementById(this.ds_cb_id); var nrDSs=oCB.ds.length; if (oCB.ds.length>0) { for (var i=0; i