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

Bug with legend titles not wrapping on two lines after chart is clicked #6646

Closed
elfia opened this issue Apr 26, 2017 · 4 comments
Closed

Bug with legend titles not wrapping on two lines after chart is clicked #6646

elfia opened this issue Apr 26, 2017 · 4 comments
Assignees

Comments

@elfia
Copy link

@elfia elfia commented Apr 26, 2017

Expected behaviour

Long titles should wrap on two lines no matter if chart has been clicked

Actual behaviour

Longer titles overflow and hide other legend titles

Live demo with steps to reproduce

  1. Run the fiddle, click the title of any metric to hide it.
  2. Click the Update series button, the text of first metric label stands over the text of second metric

http://jsfiddle.net/elfi/LLExL/7433/

Affected browser(s)

Chrome, Version 57.0.2987.133 (64-bit)

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Apr 27, 2017

Thank you for the reporting.

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Apr 28, 2017

What makes this hard is that it doesn't always happen - I need to repeat the steps over and over, and sometimes it fails...

@pawelfus
Copy link
Contributor

@pawelfus pawelfus commented Apr 28, 2017

It looks like mouseover + mouseout cause the issue, demo: http://jsfiddle.net/LLExL/7449/

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Apr 28, 2017

Internal note
The issue is caused by useHTML parameter, when is disabled, all works properly.

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
4 participants