From 798f643fab383872486880a6dc47ed181741f417 Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Thu, 24 Mar 2016 14:07:35 -0500 Subject: [PATCH] Removed the default padding You should put a style on the container element --- src/core/core.layoutService.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/core.layoutService.js b/src/core/core.layoutService.js index 67eba3299..0da922074 100644 --- a/src/core/core.layoutService.js +++ b/src/core/core.layoutService.js @@ -32,8 +32,8 @@ module.exports = function(Chart) { return; } - var xPadding = width > 30 ? 5 : 2; - var yPadding = height > 30 ? 5 : 2; + var xPadding = 0; + var yPadding = 0; var leftBoxes = helpers.where(chartInstance.boxes, function(box) { return box.options.position === "left"; @@ -320,4 +320,4 @@ module.exports = function(Chart) { }); } }; -}; \ No newline at end of file +}; -- 2.47.2