Expected behavior
You update the Data of your chart and retrieve the chartArea. The chartArea has the correct dimensions, even if the items on the x axis hava a rotation after the update.
Current behavior
You update the Data of your chart and retrieve the chartArea. The chartArea has not the correct dimensions, because the items on the x Axis hava a rotation after the update.
Reproducible sample
..
Optional extra steps/info to reproduce
No response
Possible solution
Do you use the label rotations for the calculation? It does not seem that way.
Context
I need the correct chartArea because i have two separate charts. One as a draggable overlay. I want to create one combined canvas image. So i need the exact chartArea of the chart below the overlay.
chart.js version
v3.9.1
Browser name and version
Chrome (Version 112.0.5615.138)
Link to your project
No response
Expected behavior
You update the Data of your chart and retrieve the chartArea. The chartArea has the correct dimensions, even if the items on the x axis hava a rotation after the update.
Current behavior
You update the Data of your chart and retrieve the chartArea. The chartArea has not the correct dimensions, because the items on the x Axis hava a rotation after the update.
Reproducible sample
..
Optional extra steps/info to reproduce
No response
Possible solution
Do you use the label rotations for the calculation? It does not seem that way.
Context
I need the correct chartArea because i have two separate charts. One as a draggable overlay. I want to create one combined canvas image. So i need the exact chartArea of the chart below the overlay.
chart.js version
v3.9.1
Browser name and version
Chrome (Version 112.0.5615.138)
Link to your project
No response