Jukka Kurkela 1da9fdd519
radialLinear: fix positioning & scaling (#10021)
* radialLinear: fix positioning & scaling

* bloody pixels

* better radar fixtures
2021-12-23 20:47:36 +02:00

34 lines
674 B
JavaScript

module.exports = {
config: {
type: 'polarArea',
data: {
datasets: [{
data: [1, 2, 3, 4],
backgroundColor: ['#f003', '#0f03', '#00f3', '#0003']
}],
labels: [['label 1', 'line 2'], ['label 2', 'line 2'], ['label 3', 'line 2'], ['label 4', 'line 2']]
},
options: {
plugins: {
title: {
display: true,
position: 'bottom',
text: 'Chart Title'
},
legend: false
},
scales: {
r: {
pointLabels: {
display: true,
centerPointLabels: true
}
}
}
}
},
options: {
spriteText: true
}
};