[Bug]:Chart display & scaling

Author: clinton-mwachiaCreated May 20, 2024Updated Oct 3, 2024
Labelsbug

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

  • The chart get extremely small when changing screen size, you have to reload the page for a good display.
  • The graph disappears when you move to a different tab, and then come back to the tab where the graph is. The same issue is also observed in the docs

Reproduction

https://react-chartjs-2.js.org/examples/vertical-bar-chart

chart.js version

v4.4.3

react-chartjs-2 version

v5.2.0

Possible solution

No response

Source: reactchartjs/react-chartjs-2