diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/rrdFlotSupport.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rrdFlotSupport.js b/src/lib/rrdFlotSupport.js index 0e9c1be..69cbf3c 100644 --- a/src/lib/rrdFlotSupport.js +++ b/src/lib/rrdFlotSupport.js @@ -117,7 +117,7 @@ rrdFlotSelection.prototype.trim_flot_data = function(flot_data) { var out_data=[];
for (var i=0; i<flot_data.length; i++) {
var data_el=flot_data[i];
- out_data.push({label : data_el.label, data:this.trim_data(data_el.data)});
+ out_data.push({label : data_el.label, data:this.trim_data(data_el.data), color:data_el.color});
}
return out_data;
};
|