Chart.js/test/fixtures/core.layouts/no-boxes-all-padding.js
Jukka Kurkela 79cc6d3206
Use maxOverflow as minimum layout padding (#8650)
* Use maxOverflow as minimum layout padding

* fixes
2021-03-16 16:32:29 -04:00

41 lines
617 B
JavaScript

module.exports = {
config: {
type: 'line',
data: {
labels: [0],
datasets: [{
data: [0],
radius: 16,
borderWidth: 0,
backgroundColor: 'red'
}],
},
options: {
plugins: {
legend: false,
tooltip: false,
title: false,
filler: false
},
scales: {
x: {
display: false,
offset: true
},
y: {
display: false
}
},
layout: {
padding: 16
}
}
},
options: {
canvas: {
height: 32,
width: 32
}
}
};