vega
vega copied to clipboard
Mouse signals confused by transform: scale(...)
In our app we have a full-screen mode where we want the charts to be made bigger. In order to do this, we use transform: scale(...). The problem we are having is that the scale makes it so the mouse signals no longer track correctly. The same happens in this example, when you add a scale.
Here is what it looks like normally:

But if you add a transform: scale(...), the tracking is off:

(The position of the chart is wrong in the screenshot above, but that can be solved in user code.)
Can the mouse signals be fixed to be made aware of the transform?