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

fix weird transition on barChart exit() #822 #1145

Closed
wants to merge 1 commit into from
Closed

Conversation

Fil
Copy link
Contributor

@Fil Fil commented May 20, 2016

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.

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.
@gordonwoodhull
Copy link
Contributor

Thanks @Fil! I take it this is not a fix for #1144 or #507?

Changes should be made to the files in src/ in order for them to be picked up by the tests (dc.js itself is just a build artifact). Due to the docs currently being broken, you may have to disable them as commented in #1142.

@Fil
Copy link
Contributor Author

Fil commented May 21, 2016

Indeed it solves only the barChart issue. #1144 and #507 are quite another beast.

(Sorry for the poor PR, I'm quite new to this project. I'm closing this one, please contniue the discussion on #1146 instead)

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

Successfully merging this pull request may close these issues.

2 participants