Data label text colour differs in styled mode when rotation is set #7414
Labels
Comments
Thank you for reporting this issue. You are right, labels are unreadable at this moment. Internal note: highcharts/js/parts/DataLabels.js Lines 310 to 322 in f756279 |
Hi @pawelfus
Do you know off-hand whether this would break some other appearances? |
Yes, this should be safe. The only problem is multiple series, when text won't be visible again, for example: http://jsfiddle.net/1mbjk2n5/2/ We can workaround this using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
Actual behaviour
Live demo with steps to reproduce
http://jsfiddle.net/7cLrn8t5/1/ (classic version)
http://jsfiddle.net/1mbjk2n5/1/ (styled version)
The classic version shows black labels, the styled version shows blue labels
The data labels are coloured in the styled version using the rule
(classic:
<g class="highcharts-data-labels"><g class="highcharts-data-label"><rect/><text/></g></g>
styled:
<g class="highcharts-data-labels"><text/></g>
)
Affected browser(s)
The text was updated successfully, but these errors were encountered: