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

Disabling legend via responsive option or chart.update() does not reclaim legend space #5940

Closed
Rashaine opened this Issue Nov 7, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@Rashaine

Rashaine commented Nov 7, 2016

Expected behaviour

If the legend is disabled via the responsive options or chart.update({legend{enabled:false}}) I expect the chart to be rendered as it would have been if the legend was never enabled. That is, the missing legend shouldn't take up chart space.

Actual behaviour

The legend is removed but the chart isn't updated to fully use the available space

Live demo with steps to reproduce

http://jsfiddle.net/wpp9fp1s/

Affected browser(s)

Chrome

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