I was using the hacky solution for getting values from mouse position, but p2c doesn’t work with subplots, please take a look at this code pen:
https://codepen.io/anon/pen/BgWLzP
It doesn’t matter if I use xaxis or xaxis2, p2c always returns values as there would be only one absolute X axis. Can anyone help with that?
1 Like