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
barchart on filter, first bar not disappearing correctly, animation wrong. #1262
Comments
Yeah, there are a lot of problems with the animated transitions. Rather than attempt to diagnose the particular problem you're facing here, can I ask you to try out one of the feature branches which will go into dc.js 2.1? I've set up a temporary branch Or if you want a direct http link, you can use this: The big difference is key-based joins. But there are many other refinements to the transitions as well. |
Thanks, I'll try out the temp branch today and tell you if it helped! Good to see it added to 2.1, if I come up with anything myself, I'll let you know. |
Gordon you are a god, it works perfectly. You can see the transition in the new branch in this gif: It works perfectly. Sadly I can't use dc.js with this branch in my project. Can you give a (can be very conservative) time when this will hit the main branch that's hosted on npm? Thank you very much for your help, hope I could contribute a bit, with this report. New transition looks awesome. Edit: Conversion from .mov to .gif sucks apparently, but you can see what I mean. |
So you need to use dc.js from npm? I hope to merge this in the next month, time permitting. (But of course I never really know what time will permit.) The main reason it hasn't already been merged is that for the longest time I thought it was possible to add to 2.0. But it definitely changes the behavior and CSS classes in subtle ways. |
Yeah I'm using DC within a ES6 app that uses webpack and node. It's working alright right now, but I can't switch to other branches (as far as I know) and it's for a client so it needs to be perfectly stable. |
I've been searching a lot in dc.js-related SO questions and github issues, but can't find an answer to this problem. I have the following barChart in my project. It's a pretty standard definition. In the following gif you can see what happens: http://imgur.com/a/ggnm4
When I filter data in another chart, the bars are moving and readjusting correctly, but the first bar of the chart only disappears when the animation is done. I have no idea how to solve this.
Chart definition is currently this:
Edit: I also can't seem to figure out, how I can get the yAxis to rescale on filter, so it gets down or upscaled on filter events. Any help with that?
The text was updated successfully, but these errors were encountered: