Skip to content

Commit

Permalink
fix: apply margins in nvd3 (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Ritter authored and zhaoyongjie committed Nov 26, 2021
1 parent 7786a41 commit 929c546
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ function nvd3Vis(element, props) {
}

// render chart
chart.margin(margins);
svg
.datum(data)
.transition()
Expand Down

0 comments on commit 929c546

Please sign in to comment.