You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1809 got me thinking in depth about ordinal brushing.
If the order of the ordinal keys do not change, but keys are added or removed due to remove_empty_groups or data streaming, it's possible to change the brush to fit the data.
Since you don't want a redraw to trigger a refilter, this can only work if the dimension uses the natural order of the key, and we use dimension.filterRange (no filterHandler) on the ordinal domain.
That would be a nice simplification. I wonder if I considered this and rejected it when writing the original example.
The text was updated successfully, but these errors were encountered:
gordonwoodhull
changed the title
rebrush if domain changes in ordinal brushing
adjust brush if domain changes in ordinal brushing
Feb 15, 2021
#1809 got me thinking in depth about ordinal brushing.
If the order of the ordinal keys do not change, but keys are added or removed due to
remove_empty_groups
or data streaming, it's possible to change the brush to fit the data.Since you don't want a redraw to trigger a refilter, this can only work if the dimension uses the natural order of the key, and we use
dimension.filterRange
(nofilterHandler
) on the ordinal domain.That would be a nice simplification. I wonder if I considered this and rejected it when writing the original example.
The text was updated successfully, but these errors were encountered: