From 037287d9eec0a54539a3a9f70530271682303b2f Mon Sep 17 00:00:00 2001 From: Victor Malai Date: Fri, 15 Jan 2021 13:44:12 +0200 Subject: [PATCH] fix: subject Remove margin to fit last label --- plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js b/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js index 8daac0524c..471eadf608 100644 --- a/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js +++ b/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js @@ -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);