Open
Conversation
Draft
|
We may want to allow brushing across multiple facet panes (so when you brush on one chart, the brush is also visible and applied to other charts, for example if you have many time series charts in a faceted grid. |
|
Even if the brush has been applied to a facet, you may want to apply the filter on x and y values only (not the faceting variable in addition). |
Contributor
Author
|
Both suggestions are applied in #2369 |
Since we want to support brushing histograms, we needed two additional features: * an **interval** option for snapping the brush on gesture end. * support for X1/X2 channels in renderFilter, for rect marks. (This will require some work to merge with #2363)
# Conflicts: # src/interactions/brush.js
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
to avoid the context line connecting through the brush, we split the data into several runs, broken when a point is filtered out. (typically on a line chart, this makes one line on the lhs of the brush, the other on the rhs)
Contributor
Author
|
In my tests there is a recurring issue with line charts (though it's a bit independent of the brushX story), which is that the context mark makes a line that directly goes across the brush. Fix incoming. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since we want to support brushing histograms, we needed two additional features:
(This will require some work to merge with #2363. DONE)Enregistrement.de.l.ecran.2026-02-16.a.15.03.05.mov