Displays chart title in activities block when exporting it.

This commit is contained in:
mateuswetah 2021-11-30 11:43:45 -03:00
parent d8a8bab6d9
commit 28386faf2a
1 changed files with 9 additions and 2 deletions

View File

@ -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,