Fixed Issues #161 in the bullet

master-patched
Bob Monteverde 12 years ago
parent 1a9ae9dfab
commit 36882e443a

@ -218,7 +218,10 @@ nv.models.bullet = 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