From 28386faf2a010476f494aa7da44315916751d357 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Tue, 30 Nov 2021 11:43:45 -0300 Subject: [PATCH] Displays chart title in activities block when exporting it. --- src/views/reports/components/activities-block.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/reports/components/activities-block.vue b/src/views/reports/components/activities-block.vue index 01bf644e9..e0d2a08af 100644 --- a/src/views/reports/components/activities-block.vue +++ b/src/views/reports/components/activities-block.vue @@ -242,7 +242,7 @@ export default { this.chartOptionsByUser.push({ ...this.areaChartOptions, title: { - text: '' + text: daysWithActivityByUser.user.name + ' (' + daysWithActivityByUser.total + ')' }, chart: { id: 'userschart-' + daysWithActivityByUser.user_id, @@ -297,6 +297,13 @@ export default { order: 3; padding: 12px; + @media only screen { + /deep/ .apexcharts-title-text { + display: none; + visibility: hidden; + } + } + .users-charts__card { padding: 20px !important; @@ -305,7 +312,7 @@ export default { align-items: center; padding: 6px 12px 2px 12px; position: absolute; - top: 4px; + top: 2px; left: 26px; img,