Skip to content

Commit d67850c

Browse files
committed
Modification - VueUiDonutEvolution - Add small offsetX to scale labels
1 parent 1e6baa1 commit d67850c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ defineExpose({
12981298
<text
12991299
data-cy="axis-y-label"
13001300
v-if="yLabel.value >= niceScale.min && yLabel.value <= niceScale.max"
1301-
:x="svg.left + FINAL_CONFIG.style.chart.layout.grid.yAxis.dataLabels.offsetX"
1301+
:x="svg.left + FINAL_CONFIG.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7"
13021302
:y="yLabel.y + FINAL_CONFIG.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3"
13031303
:font-size="FINAL_CONFIG.style.chart.layout.grid.yAxis.dataLabels.fontSize"
13041304
text-anchor="end"

0 commit comments

Comments
 (0)