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', type: 'doughnut',
options: { options: {
maintainAspectRatio: false, maintainAspectRatio: false,
legend: { plugins: {
position: 'bottom' title: {
}, display: true,
title: { text: this.props.title
display: true, },
text: this.props.title legend: {
position: 'bottom'
}
} }
}, },
data: { data: {