Skip to content

Commit

Permalink
Fix - VueUiScatter - Fix smooth path regression on vertical marginal bar
Browse files Browse the repository at this point in the history
  • Loading branch information
graphieros committed Nov 18, 2024
1 parent f2c7581 commit 54d1da6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/vue-ui-scatter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
convertCustomPalette,
createCsvContent,
createSmoothPath,
createSmoothPathVertical,
createUid,
dataLabel,
downloadCsv,
Expand Down Expand Up @@ -405,7 +406,7 @@ const marginalLines = computed(() => {
y: top - coords.x[i] / coords.maxX * FINAL_CONFIG.value.style.layout.marginalBars.size
}
})),
dY: createSmoothPath(coords.avgY.map((el, i) => {
dY: createSmoothPathVertical(coords.avgY.map((el, i) => {
return {
y: el,
x: right + (FINAL_CONFIG.value.style.layout.marginalBars.size * coords.y[i] / coords.maxY)
Expand Down

0 comments on commit 54d1da6

Please sign in to comment.