c3js / c3js/c3

Chart resizing workaround no longer works

Open
#1,714 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

When rendering in hidden containers, such as a , c3 charts do not resize properly when the container becomes visible.

A workaround was to invoke $window.trigger('resize') when the container is made visible. This worked in 4.10. It no longer works with 4.11.

if there is a new and improved solution, please advise.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.