Skip to content

Commit 54d1da6

Browse files
committed
Fix - VueUiScatter - Fix smooth path regression on vertical marginal bar
1 parent f2c7581 commit 54d1da6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/vue-ui-scatter.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
convertCustomPalette,
77
createCsvContent,
88
createSmoothPath,
9+
createSmoothPathVertical,
910
createUid,
1011
dataLabel,
1112
downloadCsv,
@@ -405,7 +406,7 @@ const marginalLines = computed(() => {
405406
y: top - coords.x[i] / coords.maxX * FINAL_CONFIG.value.style.layout.marginalBars.size
406407
}
407408
})),
408-
dY: createSmoothPath(coords.avgY.map((el, i) => {
409+
dY: createSmoothPathVertical(coords.avgY.map((el, i) => {
409410
return {
410411
y: el,
411412
x: right + (FINAL_CONFIG.value.style.layout.marginalBars.size * coords.y[i] / coords.maxY)

0 commit comments

Comments
 (0)