question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resize bug on Resize

See original GitHub issue

I’m submitting a … (check one with “x”)

[ X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior When I resize my window / tab in any way, the bars within the chart (Using Vertical Bar) grow in size. This prompts the entire chart to grow in size, and no matter how many times I do it this never stops leading to an insane size.

Expected behavior They would retain the same size or shrink to fit the window. Tested with and without flex-shrink, yet this seems to have 0 effect.

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment: Windows 10, https and Visual Studio Code.

  • ngx-charts version: x.x.x Latest Version

  • Angular version: 2.x.x Angular 5

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Chrome

  • Language: [all | TypeScript X.X | ES6/7 | ES5] Angular 5s

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:19 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
beckyarauzcommented, Nov 20, 2019

this is still an issue, whenever I resize the window the bar graph just keeps growing!, and if I set a max-height in the graph, the legends below overflow the container of the graph.

2reactions
Crocsxcommented, May 7, 2020

@marjan-georgiev I am using bootstrap and maybe I set up incorrectly, but I have the problem too. I made an example here :

Just play with the resize or the console, and it will grow.

https://stackblitz.com/edit/swimlane-stacked-horizontal-bar-chart-ax7bpg

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the figma.ui.resize function bug
ui. resize function bug. once you change the width/height to be the maximum of the screen, and then resize it again it is...
Read more >
Bug on resize after having reached the bottom of the page #56
Hi there,. I've noticed a small bug if you resize the window after having reached the bottom of the page. The transform value...
Read more >
onresize events should fire while resizing the window, not just ...
On my Moz 1.3 (Gecko/20030312), the OnResize events fires (fairly) continuously as the browser is resized but **only on the first resize after...
Read more >
Bug resize window - GSAP - GreenSock
I have a problem with the window resizing. When I open my website, I scroll, everything works. When I resize my web browser...
Read more >
Bug with "Adjust Window" -> "Resize to fit" - Claris Community
If Adjust Window Resize to Fit is run a second time on 19.4.2 with the window already adjusted the vertical scroll bar goes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found