Chart.js/test/fixtures/controller.polarArea/borderWidth/indexable-element-options.js
Jukka Kurkela ffe4ab14dc
Remove options.scale, in favor of options.scales.r (#8393)
Remove options.scale, in favor of options.scales.r
2021-02-06 16:19:21 -05:00

42 lines
519 B
JavaScript

module.exports = {
config: {
type: 'polarArea',
data: {
labels: [0, 1, 2, 3, 4, 5],
datasets: [
{
// option in element (fallback)
data: [0, 2, 4, null, 6, 8],
}
]
},
options: {
elements: {
arc: {
backgroundColor: 'transparent',
borderColor: '#888',
borderWidth: [
5,
4,
3,
2,
1,
0
]
}
},
scales: {
r: {
display: false
}
}
}
},
options: {
canvas: {
height: 256,
width: 512
}
}
};