Skip to content

Commit

Permalink
Provide a blank default global layout option
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Jun 4, 2017
1 parent f7f177f commit 1f28f03
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/core/core.js
Expand Up @@ -32,6 +32,16 @@ module.exports = function() {
// Element defaults defined in element extensions
elements: {},

// Layout options such as padding
layout: {
padding: {
top: 0,
right: 0,
bottom: 0,
left: 0
}
},

// Legend callback string
legendCallback: function(chart) {
var text = [];
Expand Down

0 comments on commit 1f28f03

Please sign in to comment.