Skip to content

Commit 6052e3a

Browse files
committed
Fix - VueUiXy - Set zoom start & end index when provided by config
1 parent ae8a248 commit 6052e3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/vue-ui-xy.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,9 +913,11 @@ async function setupSlicer() {
913913
914914
if ((startIndex != null || endIndex != null) && comp) {
915915
if (startIndex != null) {
916+
slicer.value.start = startIndex;
916917
comp.setStartValue(startIndex);
917918
}
918919
if (endIndex != null) {
920+
slicer.value.end = endIndex + 1
919921
comp.setEndValue(validSlicerEnd(endIndex + 1));
920922
}
921923
} else {

0 commit comments

Comments
 (0)