Missing trailing space in legend class name #5934

martijnpieters opened this Issue Nov 7, 2016 · 2 comments


None yet

2 participants


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


Affected browser(s)


@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

@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.


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