mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
19 lines
308 B
JavaScript
19 lines
308 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'doughnut',
|
|
data: {
|
|
labels: ['Red', 'Blue', 'Yellow'],
|
|
datasets: [{
|
|
data: [12, 4, 6],
|
|
backgroundColor: ['red', 'blue', 'yellow']
|
|
}]
|
|
},
|
|
options: {
|
|
offset: 40,
|
|
layout: {
|
|
padding: 50
|
|
}
|
|
}
|
|
}
|
|
};
|