-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
hunt down the rest of the bad selectAlls #1239
Comments
Checkbox the permalinks to these lines in today's develop branch: bubble chart
bubble mixin |
heatmapfixed in #1032
these are harmless but the |
geo choroplethThis chart uses a non-standard data model, so these uses, although they look suspicious, actually work in the presence of data not updated in place. This is because the join is only between the map data and the elements, not between the crossfilter(ish) data and the elements. Instead the crossfilter data is read separately from its own array. In fact, I'm uncomfortable with this data model, and think that the crossfilter data should probably be bound with the map data before both are bound with the svg elements. This is the problem that causes it to be hard to e.g. add d3.tip support to the choropleth, because the crossfilter(ish) data is hidden. But I don't propose to fix that atm. I also note that while #719 is a complete rewrite, and avoids some So this
These ones look like they are selecting a single item but they are actually selecting all regions, and again the use of
I've verified with a bunch of new tests in aa27858 that the chart is not relying on data being modified in-place. |
line chartoverkill, ugly way to update a title but probably harmless. unfortunate to remove titles in order to update them, but the alternative is a very messy join on an array of one element and an explicit data carry-through. (the "add if not there" pattern is pretty gross if you're trying to pass data through from a previous
misleading as above
these can be fixed without writing new tests. |
there's only one or zero being selected select should be paired with append for #1239
supposedly for #1239 but not breaking because of the weird way geo binds data
in 2.0 |
not that I had any doubts here, just affirming for #1239
@mtraynham commented in #1032 (comment)
Verify that all the heatmap and bubble chart/mixin ones are fixed by #1032 / #1237. Track down the rest of them, create failing tests, and verify fixes for them.
The text was updated successfully, but these errors were encountered: