Refactor
This commit is contained in:
parent
f577aacc34
commit
107d04c2c7
|
@ -76,13 +76,12 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
chartOptions() {
|
chartOptions() {
|
||||||
return {
|
return {
|
||||||
plugins: this.hideLabels
|
plugins: {
|
||||||
? {
|
legend: {
|
||||||
legend: {
|
display: !this.hideLabels
|
||||||
display: false
|
}
|
||||||
}
|
},
|
||||||
}
|
|
||||||
: undefined,
|
|
||||||
responsive: true,
|
responsive: true,
|
||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user