Zoom works but wrong

I am building a dashboard and I have noticed that in all graphs the zoom works but wrong: if I select a rectangle, the app zooms in another area… It is as if the selection is displaced to another part of the graph.
Do you know what is causing this problem?
Thanks in advance!