Skip to content

[Bug]: The chart shrinks if the browser window is zoomed out #1159

Not planned

Description

@vcardins

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

When the chart is visible and we zoom out using the browser (cmd + "-"), the chart starts shrinking until it disapear.

Reproduction

Just zoom out from the browser

chart.js version

4.2.1

react-chartjs-2 version

5.2.0

Possible solution

No response

Activity

  1. dangreen commented on Nov 30, 2026

    @dangreen
    Collaborator

    Closing: this is about how Chart.js itself behaves or is configured, while react-chartjs-2 passes data, options and plugins to Chart.js as they are. The Chart.js docs cover it: https://www.chartjs.org/docs/latest/ If it turns out to be a bug, please report it to Chart.js: https://github.com/chartjs/Chart.js/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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