Skip to content

Commit 3b2bc72

Browse files
committed
Fix - VueUiXy - Fix wrong offsetX of #plot-comment on bar types
1 parent d13f2bb commit 3b2bc72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/vue-ui-xy.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3292,7 +3292,7 @@ defineExpose({
32923292

32933293
<template v-if="plot.comment && FINAL_CONFIG.chart.comments.show">
32943294
<foreignObject style="overflow: visible" height="12"
3295-
:width="(barWidth / 2) + FINAL_CONFIG.chart.comments.width"
3295+
:width="barWidth + FINAL_CONFIG.chart.comments.width"
32963296
:x="calcRectX(plot) - (FINAL_CONFIG.chart.comments.width / 2) + FINAL_CONFIG.chart.comments.offsetX"
32973297
:y="checkNaN(plot.y) + FINAL_CONFIG.chart.comments.offsetY + 6">
32983298
<slot name="plot-comment"

0 commit comments

Comments
 (0)