mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 12:49:07 +02:00
79cc6d3206
* Use maxOverflow as minimum layout padding * fixes
41 lines
617 B
JavaScript
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
|
|
}
|
|
}
|
|
};
|