diff --git a/web/src/components/charts/ClientsChart.vue b/web/src/components/charts/ClientsChart.vue index 68aeee4..94195df 100644 --- a/web/src/components/charts/ClientsChart.vue +++ b/web/src/components/charts/ClientsChart.vue @@ -76,13 +76,12 @@ export default { computed: { chartOptions() { return { - plugins: this.hideLabels - ? { - legend: { - display: false - } - } - : undefined, + plugins: { + legend: { + display: !this.hideLabels + } + }, + responsive: true, maintainAspectRatio: false,