mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
* test: Add a failing test for single-slice doughnut with offset * fix: Always draw full arcs and borders for doughnut slices Fixes #10801 * test: Update existing image
17 lines
271 B
JavaScript
17 lines
271 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'doughnut',
|
|
data: {
|
|
labels: ['A'],
|
|
datasets: [{
|
|
data: [385],
|
|
backgroundColor: 'rgba(0,0,0,0.3)',
|
|
borderColor: 'rgba(0,0,0,0.5)',
|
|
}]
|
|
},
|
|
options: {
|
|
offset: 20
|
|
}
|
|
}
|
|
};
|