Skip to content

Commit

Permalink
fix: subject Remove margin to fit last label (apache#900)
Browse files Browse the repository at this point in the history
  • Loading branch information
maloun96 authored and zhaoyongjie committed Nov 25, 2021
1 parent 3d7b5db commit 7e087c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ function nvd3Vis(element, props) {
throw new Error(`Unrecognized visualization for nvd3${vizType}`);
}
// Assuming the container has padding already other than for top margin
chart.margin({ left: 0, right: 0, bottom: 0 });
chart.margin({ left: 0, bottom: 0 });

if (showBarValue) {
drawBarValues(svg, data, isBarStacked, yAxisFormat);
Expand Down

0 comments on commit 7e087c6

Please sign in to comment.