Skip to content

Commit 89c17f3

Browse files
committed
Fix - VueUiXy - Correct wrong reference to noTitle element
1 parent 02b0bd1 commit 89c17f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/vue-ui-xy.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2419,7 +2419,7 @@ export default {
24192419
// NoTitle height to substract
24202420
let noTitleHeight = 0;
24212421
if (this.$refs.noTitle) {
2422-
noTitleHeight = this.$refs.source.getBoundingClientRect().height;
2422+
noTitleHeight = this.$refs.noTitle.getBoundingClientRect().height;
24232423
}
24242424
24252425
this.height = height - titleHeight - legendHeight - slicerHeight - sourceHeight - noTitleHeight;

0 commit comments

Comments
 (0)