Skip to content

Chart no longer resizes correctly when enlarging the window #12177

@imike57

Description

@imike57

Expected behavior

Previously, when resizing the browser window, the chart resized correctly in both directions.

Current behavior

Now, the chart resizes only when the window is reduced, but it no longer enlarges when the window size increases.

Reproducible sample

https://www.chartjs.org/docs/latest/charts/doughnut.html

Optional extra steps/info to reproduce

This issue is visible in the documentation examples:

Simply resize the browser window to reproduce the problem.

Possible solution

No response

Context

No response

chart.js version

4.5.1

Browser name and version

No response

Link to your project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions