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

ActiveDataLabelStyle overrides styles set on a point #6752

Closed
kzoon opened this Issue May 22, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@kzoon

kzoon commented May 22, 2017

Expected behaviour

ActiveDataLabelStyle should not override styles that are specifically set on a point.

Actual behaviour

ActiveDataLabelStyle does override styles that are specifically set on a point.

Live demo with steps to reproduce

In http://jsfiddle.net/kzoon/am49zanx/2/ series with a low score get red data labels
http://jsfiddle.net/kzoon/am49zanx/4/ enables drilldown, which overrides the red data label.

In http://jsfiddle.net/kzoon/am49zanx/4/ the data label of 'Fruits' should be bold and underlined because you can drill down, but it should be red, because I set the style of that particular data label to red.

(See https://forum.highcharts.com/highcharts-usage/drill-down-overrides-color-set-on-point-t39079/)

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus May 22, 2017

Contributor

Thank you for reporting this issue. I think you are right, styles should be merged with a higher priority for point options.

Contributor

pawelfus commented May 22, 2017

Thank you for reporting this issue. I think you are right, styles should be merged with a higher priority for point options.

@pawelfus pawelfus added the Bug label May 22, 2017

@pawelfus pawelfus self-assigned this May 22, 2017

pawelfus added a commit that referenced this issue May 22, 2017

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