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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Show comment
Hide comment
@kzoon

kzoon 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?

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

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Feb 8, 2017

Collaborator

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.

Collaborator

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