We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c7581 commit 54d1da6Copy full SHA for 54d1da6
src/components/vue-ui-scatter.vue
@@ -6,6 +6,7 @@ import {
6
convertCustomPalette,
7
createCsvContent,
8
createSmoothPath,
9
+ createSmoothPathVertical,
10
createUid,
11
dataLabel,
12
downloadCsv,
@@ -405,7 +406,7 @@ const marginalLines = computed(() => {
405
406
y: top - coords.x[i] / coords.maxX * FINAL_CONFIG.value.style.layout.marginalBars.size
407
}
408
})),
- dY: createSmoothPath(coords.avgY.map((el, i) => {
409
+ dY: createSmoothPathVertical(coords.avgY.map((el, i) => {
410
return {
411
y: el,
412
x: right + (FINAL_CONFIG.value.style.layout.marginalBars.size * coords.y[i] / coords.maxY)
0 commit comments