GO AWAY ANIMATIONS

This commit is contained in:
Kasper Rynning-Tønnesen
2020-01-29 16:45:26 +01:00
parent cd79a71b2e
commit 68cb99eca3
4 changed files with 14 additions and 6 deletions

View File

@@ -75,6 +75,9 @@ export default {
type: "bar",
data: chartdata,
options: {
animation: {
duration: 0 // general animation time
},
maintainAspectRatio: false,
title: {
display: true,
@@ -109,13 +112,13 @@ export default {
.chart {
height: 40vh;
max-height: 364px;
max-height: 500px;
@include mobile {
position: relative;
width: 90vw !important;
max-height: unset;
height: 50vh;
height: 30vh;
margin-bottom: 2rem;
}
}