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

Treemap chart drillup button disappear after update the chart #9838

Closed
udeeshaIS opened this issue Jan 8, 2019 · 1 comment · Fixed by #10014
Closed

Treemap chart drillup button disappear after update the chart #9838

udeeshaIS opened this issue Jan 8, 2019 · 1 comment · Fixed by #10014
Assignees
Milestone

Comments

@udeeshaIS
Copy link

Expected behaviour

If a treemap chart has updated in the drilled down state, drill up button should remain the same.

Actual behaviour

I was trying to update a property in a treemap chart on a button click. If the chart is in drilled down status the drill up button will disappear from the chart.

Live demo with steps to reproduce

https://jsfiddle.net/nvom2u13/

Product version

Affected browser(s)

Chrome

@KacperMadej
Copy link

Hi @euiRulz

Thank you for reporting about the problem.

Workaround:
Preserve the button before update and reapply on the series after the update. Demo: https://jsfiddle.net/BlackLabel/tg7uzh8r/

Internal note:
Series update is not flexible enough to easily add new members to be preserved, so this could be resolved first. If we had not only afterUpdate, but also beforeUpdate then this could be resolved without changes in general Series. Third option is to provide update function for the series type, so this will be a wrapper without the usage of the H.wrap.

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

Successfully merging a pull request may close this issue.

3 participants