mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04:00
Fixed: DoughnutChart not respecting title or legend
This commit is contained in:
parent
c694d1ef44
commit
2ea05285a1
1 changed files with 8 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue