mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-06 00:14:03 +01:00
Merge pull request #2173 from niemyjski/patch-1
Removed the default padding
This commit is contained in:
@@ -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) {
|
||||
});
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user