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

Fixed error when un-brushing range chart #489

Merged
merged 1 commit into from
Feb 4, 2014

Conversation

matthull
Copy link
Contributor

This fixes issue #488 - when you brush the range chart, then click it to un-brush, an error occurs and focus chart fails to zoom back out.

@gordonwoodhull
Copy link
Contributor

This fixes the bug, but it has the side effect that the entire range is selected from the start, making it hard to select a new range. I.e. now you have to grab the handlebars at the edge of the range, rather than just dragging on the range

@matthull, can you figure out how to fix this while allowing simple drag-selection on the range?

@gordonwoodhull
Copy link
Contributor

ok sorry for the noise, the bug i'm referring to exists in the old version as well, it appears to come up sometimes with scrolling or changing the brush while reloading the page, or something.

@gordonwoodhull
Copy link
Contributor

I'm merging this. I upgraded it to use jasmine.clock() as the other specs now do, and also to explicitly check the x domain of the chart before and after un-brushing.

Thanks @matthull!

gordonwoodhull added a commit that referenced this pull request Feb 4, 2014
@gordonwoodhull gordonwoodhull merged commit 4a01baf into dc-js:master Feb 4, 2014
gordonwoodhull added a commit that referenced this pull request Feb 4, 2014
erikdies added a commit to erikdies/dc.js that referenced this pull request Feb 9, 2014
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