You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, not sure if this project is active anymore but I've encountered a bug where charts get "squashed". We can occasionally reproduce this by resizing the page, and then the entire page (not just the charts) seems to re-render and graphs may then get squashed.
This seems to occur on a page resize therefore I removed the resize listener. I did this by manually removing the resize event listener from the chart with a timeout (taken from issue #929, suggested by @phegman).
The latter works most of the time, but very occasionally graph(s) at the bottom of the page (always only the bottom graphs, perhaps due to something happening before these last script tags are processed?) still get squashed. Not very sure what could be going on, but as said I suspect it to be the resize event listener failing to get removed. Anyone have any idea of a possible fix?
Browser: Chrome
Non squashed bar chart example:
Squashed example (same chart as above):
The text was updated successfully, but these errors were encountered:
anveshyk
changed the title
Squashed charts due to resize event listener, and partly persists even when resize listener removed
Squashed charts due to page resize despite removing event listener
May 11, 2021
Hi, not sure if this project is active anymore but I've encountered a bug where charts get "squashed". We can occasionally reproduce this by resizing the page, and then the entire page (not just the charts) seems to re-render and graphs may then get squashed.
This seems to occur on a page resize therefore I removed the resize listener. I did this by manually removing the resize event listener from the chart with a timeout (taken from issue #929, suggested by @phegman).
The latter works most of the time, but very occasionally graph(s) at the bottom of the page (always only the bottom graphs, perhaps due to something happening before these last script tags are processed?) still get squashed. Not very sure what could be going on, but as said I suspect it to be the resize event listener failing to get removed. Anyone have any idea of a possible fix?
Browser: Chrome
Non squashed bar chart example:
Squashed example (same chart as above):
The text was updated successfully, but these errors were encountered: