Fix chartArea undefined when resizeDelay ≠ 0 by daran8 · Pull Request #12218 · chartjs/Chart.js

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@daran8

Copy link Copy Markdown

@daran8 daran8 commented

Mar 12, 2026

  • force immediate update during initial resize if chartArea is still undefined
  • add regression test verifying synchronous chartArea initialization
  • update responsive docs to clarify initial layout isn’t delayed

closes #12166

- force immediate update during initial resize if chartArea is still undefined
- add regression test verifying synchronous chartArea initialization
- update responsive docs to clarify initial layout isn’t delayed

closes chartjs#12166

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

When resizeDelay != 0, it causes the initialized chartArea property to be undefined.

1 participant

@daran8