Skip to content

Commit

Permalink
Fixed Issues #161 in the stackedArea
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmonteverde committed Aug 27, 2012
1 parent e410289 commit 0397b38
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion nv.d3.js
Original file line number Diff line number Diff line change
Expand Up @@ -9265,7 +9265,10 @@ nv.models.stackedArea = 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;
};

Expand Down
Loading

0 comments on commit 0397b38

Please sign in to comment.