mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 20:59:08 +02:00
40 lines
593 B
JavaScript
40 lines
593 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'line',
|
|
data: {
|
|
labels: [0],
|
|
datasets: [{
|
|
data: [0],
|
|
radius: 16,
|
|
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
|
|
}
|
|
}
|
|
};
|