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',
|
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: {
|
||||||
|
Reference in New Issue
Block a user