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

Notes to fix bugs related to brush selection on ordinal scales #3

Open
sepans opened this issue Jun 13, 2015 · 0 comments
Open

Notes to fix bugs related to brush selection on ordinal scales #3

sepans opened this issue Jun 13, 2015 · 0 comments

Comments

@sepans
Copy link
Member

sepans commented Jun 13, 2015

clip-{id} width in rest mode needs to be 100% and not width to fix deselected last bar problem (though the cause is something else)

the width of bars (9px?) needs to be added to the width of clip to fix brush selection for ordinal scales

g.select("#clip-" + id + " rect")
      .attr("x", x(extent[0]))
      .attr("width", x(extent[1]) - x(extent[0]) + 9 );
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

No branches or pull requests

1 participant