Fixed: DoughnutChart not respecting title or legend

This commit is contained in:
Qstick 2021-05-31 00:18:07 -04:00
parent c694d1ef44
commit 2ea05285a1

View file

@ -14,12 +14,14 @@ class DoughnutChart extends Component {
type: 'doughnut',
options: {
maintainAspectRatio: false,
legend: {
position: 'bottom'
},
title: {
display: true,
text: this.props.title
plugins: {
title: {
display: true,
text: this.props.title
},
legend: {
position: 'bottom'
}
}
},
data: {