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

Treemap first renders incorrectly when yAxis is added via addAxis #8406

Closed
anajavi opened this Issue May 30, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@anajavi

anajavi commented May 30, 2018

Expected behaviour

The treemap should render correctly on first render. When yAxis is added in chart config this happens.

Actual behaviour

The first render doesn't set colors and legend. After resizing window, the colors and legend display correctly.

Live demo with steps to reproduce

https://jsfiddle.net/brdjj8y7/3/

First the colors are all black, and legend does not show numbers. After resizing window the chart renders with blue colors and legend with numbers

Product version

Highcharts 6.1.0

Affected browser(s)

Tested: Chrome latest, Safari latest

@KacperMadej

This comment has been minimized.

Contributor

KacperMadej commented Jun 4, 2018

Hi @anajavi

Thank you for reporting about the problem.

As a workaround you could set min and max for the color axis - https://jsfiddle.net/BlackLabel/brdjj8y7/4/

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