Added color to multiBarWithLegend

master-patched
Bob Monteverde 12 years ago
parent 542dc094f9
commit c374e078fc

@ -3981,6 +3981,13 @@ nv.models.multiBarWithLegend = function() {
return chart;
};
chart.color = function(_) {
if (!arguments.length) return color;
color = _;
legend.color(_);
return chart;
};
chart.showControls = function(_) {
if (!arguments.length) return showControls;
showControls = _;

6
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -225,6 +225,13 @@ nv.models.multiBarWithLegend = function() {
return chart;
};
chart.color = function(_) {
if (!arguments.length) return color;
color = _;
legend.color(_);
return chart;
};
chart.showControls = function(_) {
if (!arguments.length) return showControls;
showControls = _;

Loading…
Cancel
Save