Issue #161 implemented new margin setting in scatter.js will implement into the others later

master-patched
Bob Monteverde 12 years ago
parent 44c0e21a87
commit aca8838f52

@ -7642,7 +7642,10 @@ nv.models.scatter = function() {
chart.margin = function(_) {
if (!arguments.length) return margin;
margin = _;
margin.top = typeof _.top != 'undefined' ? _.top : margin.top;
margin.right = typeof _.right != 'undefined' ? _.right : margin.right;
margin.bottom = typeof _.bottom != 'undefined' ? _.bottom : margin.bottom;
margin.left = typeof _.left != 'undefined' ? _.left : margin.left;
return chart;
};

2
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -355,7 +355,10 @@ nv.models.scatter = function() {
chart.margin = function(_) {
if (!arguments.length) return margin;
margin = _;
margin.top = typeof _.top != 'undefined' ? _.top : margin.top;
margin.right = typeof _.right != 'undefined' ? _.right : margin.right;
margin.bottom = typeof _.bottom != 'undefined' ? _.bottom : margin.bottom;
margin.left = typeof _.left != 'undefined' ? _.left : margin.left;
return chart;
};

Loading…
Cancel
Save