mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
* Add borderJoinStyle option for arc elements * docs + types * Consistently enumerate the possible choices
27 lines
453 B
JavaScript
27 lines
453 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'doughnut',
|
|
data: {
|
|
labels: [0, 1, 2, 3, 4, 5],
|
|
datasets: [
|
|
{
|
|
data: [0, 2, 4, null, 6, 8],
|
|
backgroundColor: 'transparent',
|
|
borderColor: '#000',
|
|
borderJoinStyle: 'round',
|
|
borderWidth: 10,
|
|
spacing: 50,
|
|
},
|
|
]
|
|
},
|
|
options: {
|
|
}
|
|
},
|
|
options: {
|
|
canvas: {
|
|
height: 256,
|
|
width: 512
|
|
}
|
|
}
|
|
};
|