Client - update stats chart display (wip)

This commit is contained in:
Sam
2021-09-05 09:41:39 +02:00
parent 0e98efe5a9
commit 18908ce89d
6 changed files with 88 additions and 14 deletions

View File

@ -48,13 +48,18 @@
x: {
stacked: true,
grid: {
display: false,
drawOnChartArea: false,
},
},
y: {
stacked: true,
grid: {
display: false,
drawOnChartArea: false,
},
ticks: {
callback: function (value) {
return formatTooltipValue(props.displayedData, +value, false)
},
},
},
},

View File

@ -67,3 +67,19 @@
},
})
</script>
<style lang="scss">
@import '~@/scss/base';
.stat-chart {
.chart {
height: 335px;
}
}
@media screen and (max-width: $small-limit) {
.stat-chart {
.chart {
height: 280px;
}
}
}
</style>

View File

@ -1,5 +1,5 @@
<template>
<div>
<div class="user-month-stats">
<Card :without-title="false">
<template #title>{{ $t('dashboard.THIS_MONTH') }}</template>
<template #content>