Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggling data series off/on causes chart height to expand #522

Open
danielbonnell opened this issue Sep 8, 2016 · 1 comment
Open

Toggling data series off/on causes chart height to expand #522

danielbonnell opened this issue Sep 8, 2016 · 1 comment

Comments

@danielbonnell
Copy link

Hello, I've noticed a bug with the chart legend toggling functionality. Specifically, if you toggle a data series off and then on again, the height of the chart increases by a few pixels when it's redrawn. This process repeats each time you toggle a series. You can see it in action on the examples page on the last few charts, though it seems to stop after a few times there. In my app, it keeps expanding for an infinite number of clicks. I haven't seen any errors associated with this. I'm using Angular 1.5.5 and the latest release of line-chart. I'm using D3 3.5.7.

@DogeThis
Copy link

DogeThis commented Oct 17, 2016

Hi @danielbonnell, I fixed this by setting a fixed height for the container, like in the examples you linked to.

.container { width: 600px; height: 300px; }

Is your issue related to : #439?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants