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

Using colorAxis.dataClasses in styled mode #6988

Closed
PaulDalek opened this Issue Jul 20, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@PaulDalek
Contributor

PaulDalek commented Jul 20, 2017

Expected behaviour

In styled mode, legend item symbol have the same color as point which fit in a specific value range, determined in colorAxis.dataClasses.

Actual behaviour

All legend item symbols are black.

Live demos

http://jsfiddle.net/unb06fus/ - classic mode
http://jsfiddle.net/snt2j4qw/ - styled mode

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Jul 21, 2017

Contributor

Workaround: set colorAxis.dataClassColor to 'category' and redefine chart colors in CSS if needed.

Demo: http://jsfiddle.net/7vck7Lkm/

Contributor

KacperMadej commented Jul 21, 2017

Workaround: set colorAxis.dataClassColor to 'category' and redefine chart colors in CSS if needed.

Demo: http://jsfiddle.net/7vck7Lkm/

@KacperMadej KacperMadej added the Bug label Jul 21, 2017

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Jul 24, 2017

Collaborator

In accordance with how color options generally work in styled mode, the expected behaviour is that color is ignored and colors should be defined in CSS. See for example how the basic series color option is ignored: http://jsfiddle.net/o4u6oxk4/.

Collaborator

TorsteinHonsi commented Jul 24, 2017

In accordance with how color options generally work in styled mode, the expected behaviour is that color is ignored and colors should be defined in CSS. See for example how the basic series color option is ignored: http://jsfiddle.net/o4u6oxk4/.

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