mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-22 22:34:53 -04:00
Fixed: DoughnutChart not respecting title or legend
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user