You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm using the CSS property zoom: 2; the hover elements of my canvas should take in account the current placement of the canvas element.
The zoom property is part of the Baseline 2024.
Since May 2024, this feature works across the latest devices and browser versions.
It should be taken in account.
Current behavior
If I'm applying zoom:2; to the chart or any parent element, the hover is desynchronized from the canvas element.
It takes in account the placement of the canvas' elements without the zoom.
With the image above, you can see the tooltip opened is march instead of febuary. With the image below, you can see the chart without zoom above the actual display. The moose placement is does not take in account the zoom.
Expected behavior
When I'm using the CSS property zoom: 2; the hover elements of my canvas should take in account the current placement of the canvas element.
The zoom property is part of the Baseline 2024.
Since May 2024, this feature works across the latest devices and browser versions.
It should be taken in account.
Current behavior
If I'm applying zoom:2; to the chart or any parent element, the hover is desynchronized from the canvas element.
It takes in account the placement of the canvas' elements without the zoom.
With the image above, you can see the tooltip opened is march instead of febuary. With the image below, you can see the chart without zoom above the actual display. The moose placement is does not take in account the zoom.
Reproducible sample
https://www.chartjs.org/docs/latest/samples/bar/floating.html
Optional extra steps/info to reproduce
Possible solution
No response
Context
No response
chart.js version
4.4.2
Browser name and version
No response
Link to your project
No response
The text was updated successfully, but these errors were encountered: