Skip to content

Commit cb18a67

Browse files
committed
Improvement - VueUiXy - Expose more data in the svg slot
1 parent da51c8f commit cb18a67

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/vue-ui-xy.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3953,7 +3953,11 @@ defineExpose({
39533953
:data-end="slicer.end"
39543954
/>
39553955
3956-
<slot name="svg" :svg="svg" />
3956+
<slot name="svg" :svg="{
3957+
...svg,
3958+
data: [...lineSet, ...barSet, ...plotSet],
3959+
drawingArea
3960+
}" />
39573961
</g>
39583962
</svg>
39593963

0 commit comments

Comments
 (0)