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

Contrast color for data label with background color set does not work #20007

Closed
vazonik opened this issue Oct 26, 2023 · 0 comments · Fixed by #20011
Closed

Contrast color for data label with background color set does not work #20007

vazonik opened this issue Oct 26, 2023 · 0 comments · Fixed by #20011

Comments

@vazonik
Copy link
Member

vazonik commented Oct 26, 2023

Expected behaviour

When backgroundColor is set for a dataLabel with style.color: 'contrast', the contrast is set relative to the background color.

Actual behaviour

Data label color set to contrast does not apply to the background color.

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/adtzoqfm/

Product version

Highcharts v11.1.0

@vazonik vazonik self-assigned this Oct 26, 2023
@highsoft-bot highsoft-bot added this to To do in Development-Flow via automation Oct 26, 2023
@vazonik vazonik changed the title Contrast color for data label with background color set Contrast color for data label with background color set does not work Oct 26, 2023
@KacperMadej KacperMadej moved this from To do to Review in progress in Development-Flow Oct 30, 2023
Development-Flow automation moved this from Review in progress to Done Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants