mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02: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