CSS Zoom and mouse coordinates in Plotly graphs

Viewed 109

Setting the CSS zoom property results in Plotly.js incorrectly translating the mouse coordinates. The problem could easily be solved if there was a way to override the existing coordinate getter in JavaScript, to return a scaled version of the coordinates based on the zoom. Is there an easy way to do such an override?

0 Answers
Related