You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once again, the enter transition should start where the bar would be in the before-scale, and the exit transition should end where the bar would end in the after-scale.
In addition, the bars are collapsing from the bottom up when they should collapse from the top down. (Although that might not matter, and might be a bad idea, if they are leaving to the left or right - maybe more accurate to just let them leave the screen.)
the transition to `height(0)` was making the bar "fly away", now we keep its y and height, but transition it towards where it "should be". trimming a little bit of the width gives nicer results imho so that a small ap is preserved between bars. But it's something that can be removed if you prefer to keep it simple.
Fil
added a commit
to Fil/dc.js
that referenced
this issue
May 21, 2016
The exit transitions are improved in #1146 / 2.0 beta 32. The enter transitions still need to be fixed, but that means keeping around the previous scale, which is a bigger change.
Once again, the enter transition should start where the bar would be in the before-scale, and the exit transition should end where the bar would end in the after-scale.
In addition, the bars are collapsing from the bottom up when they should collapse from the top down. (Although that might not matter, and might be a bad idea, if they are leaving to the left or right - maybe more accurate to just let them leave the screen.)
Can be seen in multi-focus example:
http://dc-js.github.io/dc.js/examples/multi-focus.html
The text was updated successfully, but these errors were encountered: