Skip to content

Commit

Permalink
VueUiDonutEvolution removed akward hover animation
Browse files Browse the repository at this point in the history
  • Loading branch information
graphieros committed Jan 29, 2024
1 parent 625e0b5 commit 6780fb4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-data-ui",
"private": false,
"version": "1.9.69",
"version": "1.9.70",
"type": "module",
"description": "A user-empowering data visualization Vue components library",
"keywords": [
Expand Down
7 changes: 5 additions & 2 deletions src/components/vue-ui-donut-evolution.vue
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ defineExpose({
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
class="vue-ui-donut-evolution-focus"
/>
</g>
<circle
Expand All @@ -700,8 +701,9 @@ defineExpose({
:fill="`${arc.color}`"
:stroke-width="1"
:stroke="donutEvolutionConfig.style.chart.backgroundColor"
class="vue-ui-donut-evolution-focus"
/>
<g v-for="(arc, i) in fixedDatapoint.donutFocus">
<g v-for="(arc, i) in fixedDatapoint.donutFocus" class="vue-ui-donut-evolution-focus">
<text
:data-cy="`donut-datalabel-value-${i}`"
:text-anchor="calcMarkerOffsetX(arc, true, 20).anchor"
Expand Down Expand Up @@ -733,6 +735,7 @@ defineExpose({
:font-size="14"
:font-weight="'bold'"
:fill="donutEvolutionConfig.style.chart.layout.dataLabels.color"
class="vue-ui-donut-evolution-focus"
>
{{ labellizeValue(fixedDatapoint.subtotal) }}
</text>
Expand Down Expand Up @@ -802,7 +805,7 @@ defineExpose({
position: relative;
}
path {
.vue-ui-donut-evolution-focus {
animation: donut 0.5s ease-in-out;
transform-origin: center;
}
Expand Down

0 comments on commit 6780fb4

Please sign in to comment.