Skip to content

Commit

Permalink
append zoomRect to root element
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Oct 28, 2024
1 parent 4dfd644 commit 4bff1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ZoomPanSelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class ZoomPanSelection extends Toolbar {

this.zoomRect.node.classList.add('apexcharts-zoom-rect')
this.selectionRect.node.classList.add('apexcharts-selection-rect')
w.globals.dom.elGraphical.add(this.zoomRect)
w.globals.dom.Paper.add(this.zoomRect)
w.globals.dom.Paper.add(this.selectionRect)

if (w.config.chart.selection.type === 'x') {
Expand Down

0 comments on commit 4bff1f0

Please sign in to comment.