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

Missing trailing space in legend class name #5934

Closed
martijnpieters opened this Issue Nov 7, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@martijnpieters

martijnpieters commented Nov 7, 2016

Expected behaviour

Legend should contain series' className with a trailing space.

Actual behaviour

The trailing space in legend class is missing. With "className": "missing-space" this results into the class missing-spacehighcharts-series-0 for a legend item.

Live demo with steps to reproduce

http://jsfiddle.net/ue5gyq0a/

Affected browser(s)

All

@jon-a-nygaard jon-a-nygaard added the Bug label Nov 7, 2016

@jon-a-nygaard jon-a-nygaard self-assigned this Nov 7, 2016

@jon-a-nygaard jon-a-nygaard added this to the 5.0.3 milestone Nov 7, 2016

@jon-a-nygaard

This comment has been minimized.

Show comment
Hide comment
@jon-a-nygaard

jon-a-nygaard Nov 7, 2016

Collaborator

@martijnpieters Thanks for reporting, this issue will be fixed in the next maintenance release v5.0.3. A possible workaround in the meantime is to add your own trailing space to className.

Collaborator

jon-a-nygaard commented Nov 7, 2016

@martijnpieters Thanks for reporting, this issue will be fixed in the next maintenance release v5.0.3. A possible workaround in the meantime is to add your own trailing space to className.

@martijnpieters

This comment has been minimized.

Show comment
Hide comment
@martijnpieters

martijnpieters Nov 7, 2016

I was already using that workaround, however, thanks for the suggestion!

martijnpieters commented Nov 7, 2016

I was already using that workaround, however, thanks for the suggestion!

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