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

rootNode does no longer exists after setData #6180

Closed
jon-a-nygaard opened this Issue Dec 27, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@jon-a-nygaard
Collaborator

jon-a-nygaard commented Dec 27, 2016

This issue is related to the PR #5869

Expected behaviour

If the root node does not exist, set it to the top node.

Actual behaviour

When using setData with a dataset which does not contain the current rootNode, the chart breaks.

Live demo with steps to reproduce

Demo

  1. Drill down to node C1
  2. Click on "Set Data"

Affected browser(s)

All

@jon-a-nygaard jon-a-nygaard self-assigned this Dec 27, 2016

@jon-a-nygaard jon-a-nygaard added the Bug label Dec 27, 2016

@jon-a-nygaard jon-a-nygaard added this to the 5.0.7 milestone Dec 28, 2016

TorsteinHonsi added a commit that referenced this issue Jan 5, 2017

Addition to #6180, refactored drillTo into onClickDrillToNode and add…
…ed tests.

# Conflicts:
#	samples/unit-tests/series-treemap/members/demo.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment