diff options
author | Frank Wuerthwein <fkw@ucsd.edu> | 2009-04-30 00:19:04 +0000 |
---|---|---|
committer | Frank Wuerthwein <fkw@ucsd.edu> | 2009-04-30 00:19:04 +0000 |
commit | 5a572be64b90930b1c4447f4f21fda470c572ca2 (patch) | |
tree | aac00113c1bc4abd14c29a2e2cae8d5bbf78b35d | |
parent | c2c029003b7d5e2e024543bafc69725608ae5e9e (diff) |
Add support for lines and yaxis in user data
-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 87b6698..2fd7268 100644 --- a/src/lib/rrdFlotSupport.js +++ b/src/lib/rrdFlotSupport.js @@ -127,7 +127,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), color:data_el.color});
+ out_data.push({label : data_el.label, data:this.trim_data(data_el.data), color:data_el.color, lines:data_el.lines, yaxis:data_el.yaxis});
}
return out_data;
};
|