Skip to content

Commit 6780fb4

Browse files
committed
VueUiDonutEvolution removed akward hover animation
1 parent 625e0b5 commit 6780fb4

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "1.9.69",
4+
"version": "1.9.70",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue components library",
77
"keywords": [

src/components/vue-ui-donut-evolution.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ defineExpose({
686686
stroke-linecap="round"
687687
stroke-linejoin="round"
688688
fill="none"
689+
class="vue-ui-donut-evolution-focus"
689690
/>
690691
</g>
691692
<circle
@@ -700,8 +701,9 @@ defineExpose({
700701
:fill="`${arc.color}`"
701702
:stroke-width="1"
702703
:stroke="donutEvolutionConfig.style.chart.backgroundColor"
704+
class="vue-ui-donut-evolution-focus"
703705
/>
704-
<g v-for="(arc, i) in fixedDatapoint.donutFocus">
706+
<g v-for="(arc, i) in fixedDatapoint.donutFocus" class="vue-ui-donut-evolution-focus">
705707
<text
706708
:data-cy="`donut-datalabel-value-${i}`"
707709
:text-anchor="calcMarkerOffsetX(arc, true, 20).anchor"
@@ -733,6 +735,7 @@ defineExpose({
733735
:font-size="14"
734736
:font-weight="'bold'"
735737
:fill="donutEvolutionConfig.style.chart.layout.dataLabels.color"
738+
class="vue-ui-donut-evolution-focus"
736739
>
737740
{{ labellizeValue(fixedDatapoint.subtotal) }}
738741
</text>
@@ -802,7 +805,7 @@ defineExpose({
802805
position: relative;
803806
}
804807
805-
path {
808+
.vue-ui-donut-evolution-focus {
806809
animation: donut 0.5s ease-in-out;
807810
transform-origin: center;
808811
}

0 commit comments

Comments
 (0)