Fixed: DoughnutChart not respecting title or legend

pull/84/head
Qstick 3 years ago
parent c694d1ef44
commit 2ea05285a1

@ -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: {

Loading…
Cancel
Save