Skip to content

adjust brush if domain changes in ordinal brushing #1814

@gordonwoodhull

Description

@gordonwoodhull

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions