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

Column data labels are not contrasted with respect to plot background in case of Stacking and text outline is set to 0px. #21001

Closed
tanmayshah95 opened this issue Apr 12, 2024 · 1 comment

Comments

@tanmayshah95
Copy link

Expected behaviour

Data labels for Normal stacking series should also be contrasted considering label's background and not only Series(Column) background when label is displayed outside (inside: false) and textOutline is removed.
Similar issue is filled #14014 but with different expected outcome and without mention of textOutline.
One more issue #8472 found for Pie chart with similar expected outcome but seems fixed for respective chart.

Actual behaviour

Data labels are getting contrasted as per Series color and are not visible due to same color as of Plot. For darker shades of color, data labels becomes white and are not visible due to white plot background.
This works correctly when stacking is not present.

Live demo with steps to reproduce

https://jsfiddle.net/tanmayshah95/ta3g7zn5/2/
to make it simple i have only used single series even with stacking. Removing Stacking attribute solves the issue. But i have a case of multiple series being stacked and having dark shades of series color.

Product version

Highcharts 11.1.0

Affected browser(s)

All

@hubertkozik
Copy link
Member

Hi @tanmayshah95!
Thanks for bringing our attention to this bug, but sadly this a duplicate of #14014. I'll close your issue and let's continue the discussion in the original thread, because it is exactly the same problem as yours.

@hubertkozik hubertkozik closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants