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: drilldown to 3rd level through single elem. in 2nd level does not work #4046

Closed
KacperMadej opened this issue Mar 27, 2015 · 1 comment

Comments

@KacperMadej
Copy link
Contributor

commented Mar 27, 2015

Example: http://jsfiddle.net/8tuzgm28/
Steps:

  1. Click to drill down into lvl 0
  2. Click to drill down into lvl 1
    Only back button text changed, but no drill down is performed.
    Cannot access lvl 2C (to show lvl 3)

Expected behavior as in this example:
http://jsfiddle.net/8tuzgm28/1/
(lvl 0 > lvl 1 > lvl 2C > lvl 3)

@jon-a-nygaard

This comment has been minimized.

Copy link
Member

commented Apr 7, 2015

Problem: when the axis extremes were the same values as last redraw, the series.isDirty was newer set to true. isDirty is now set explicit to true before chart.redraw().

Any users who would like to avoid downloading a new version of the treemap.js can fix this issue manually by:

  1. Open treemap.js in a text editor.
  2. Search and locate the function drillToNode.
  3. Insert this.isDirty = true; on a new line before the following code this.chart.redraw();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.