Zooming into a chart with multiple subplots

Is there a way to find out which subplot a user is zooming in?

Thanks

Here one way to do so: https://codepen.io/etpinard/pen/yLyrdwJ