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

Setting the width on a right aligned legend affects margin between plot area and legend #6301

Closed
kzoon opened this issue Jan 25, 2017 · 2 comments
Labels

Comments

@kzoon
Copy link

@kzoon kzoon commented Jan 25, 2017

Expected behaviour

Setting explicit legend width does not influence the margin between plot area and legend.

Actual behaviour

Setting explicit legend width does NOT influence the margin between plot area and legend. It looks like the legend is transposed 10 pixels to the right. There is less margin between the legend and the chart border.

Live demo with steps to reproduce

Compare http://jsfiddle.net/kzoon/monxmqtt/1/ and http://jsfiddle.net/kzoon/monxmqtt/2/

Affected browser(s)

Chrome 55
IE 11

@kzoon
Copy link
Author

@kzoon kzoon commented Feb 8, 2017

I would like to release a new version of my software in three weeks time. Any chance this issue could be addressed by then?

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Feb 8, 2017

Compare the correct behaviour when aligned left to the wrong behaviour when aligned right. When aligned right, the legend is shifted to the right and margin is not respected.

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

Successfully merging a pull request may close this issue.

None yet
2 participants