Skip to content

Commit

Permalink
rm chart animation
Browse files Browse the repository at this point in the history
  • Loading branch information
neSpecc committed Dec 21, 2024
1 parent 450cc87 commit d0b09ca
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/components/events/Chart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
class="chart__body-polyline"
fill="none"
:stroke="maxValue === minValue ? 'rgba(61, 133, 210, 0.22)' : 'url(#chart)'"
stroke-width="2.5"
stroke-width="2"
:points="polylinePoints"
/>
</svg>
Expand Down Expand Up @@ -350,13 +350,10 @@ export default Vue.extend({
flex-grow: 2;
polyline {
animation: line-in 1.5s ease-in forwards;
stroke-linecap: round;
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
shape-rendering: geometricPrecision;
stroke-dashoffset: 200%;
stroke-dasharray: 200%;
}
}
Expand Down Expand Up @@ -437,12 +434,6 @@ export default Vue.extend({
}
}
@keyframes line-in {
to {
stroke-dashoffset: 0;
}
}
@keyframes pointer-in {
from {
opacity: 0;
Expand Down

0 comments on commit d0b09ca

Please sign in to comment.