-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
scatter plot brushing - resizeFiltered #938
Comments
Yeah. Also, why do the selected ones get smaller instead of larger? |
this is another issue, var _highlightedSize = 5; is set up by default (so if user code spec symbol large than this it will go smaller). As initial default it could be specified like this:
btw, _chart.highlightedSize could accept function too |
for #938 simplify some of the logic breaks three tests, however, so not merging to master yet. also introduces emptySize as a better name for hiddenSize
@pbrockman, here is the issue you were describing. I added "Highlighted" and "filtered" used to be sort of the same thing, which didn't make sense, because when nothing is filtered, it shouldn't all be highlighted. I consider that a bug, so I'm okay with breaking the old behavior there. I also thought The logic was a bit too complicated (writing special flags to the DOM elements instead of just running the filter at the beginning of drawing), so I made it somewhat better. (It could still be simplified around highlighting, which now means just from the legend, but I left that untouched.) |
when brushing, only resize (path) changes on symbols, this is not consistent with other graphs that usually grey-out filtered-out elements.
would be great to have a chance to set color of filtered/non-filtered symbols on scatter plot, for example by extending resizeFiltered function with fill attribute :
The text was updated successfully, but these errors were encountered: