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

inconsistent bar gaps for linear scale #952

Open
gordonwoodhull opened this issue Jun 24, 2015 · 2 comments
Open

inconsistent bar gaps for linear scale #952

gordonwoodhull opened this issue Jun 24, 2015 · 2 comments
Labels
Milestone

Comments

@gordonwoodhull
Copy link
Contributor

There are some related issues, but I wanted to start one just for this.

The problem is that code is very tangled in this area, especially since we are using rangeBands for ordinal scales. I do not know if it can be fixed without changing the interface.

http://stackoverflow.com/questions/24028363/making-bar-widths-and-gaps-consistent-in-dc-js-when-using-a-large-dataset-and-d3

@gordonwoodhull gordonwoodhull added this to the v2.0 milestone Jun 24, 2015
@amergin
Copy link

amergin commented Aug 11, 2015

The pictures in that issue are dead, but I noticed earlier that seems to be a distinct gap in some of the bar charts I'm drawing. You can see an example of the gap here, originally reported in another issue #972. Is this the same issue or something else? That gap is kinda annoying and I don't remember remember seeing it earlier (although could be related to fiddling with xUnits value).

@gordonwoodhull
Copy link
Contributor Author

image

It is annoying. I don't think it is new. I think the gap stuff will probably just have to be ripped out. The rangebands, activated through barPadding, work a lot better if you are able to use an ordinal scale

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

No branches or pull requests

2 participants