Skip to content

Comments

brush merge#2370

Draft
Fil wants to merge 23 commits intofil/brush-datalessfrom
fil/brush-merge
Draft

brush merge#2370
Fil wants to merge 23 commits intofil/brush-datalessfrom
fil/brush-merge

Conversation

@Fil
Copy link
Contributor

@Fil Fil commented Feb 20, 2026

This branch merges all the branches that depend on fil/brush-dataless (#2360), fixes the conflicts, and changes the tests and examples of cross-facet brushing to a timeline

Enregistrement.de.l.ecran.2026-02-20.a.16.26.58.mov

(This branch combines everything, so while it may be better for testing, it's probably not as good for reviewing.)

Fil and others added 21 commits February 20, 2026 11:56
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)
Rationale: tip is more fundamental than brush, and other interactions (such as lasso) will want to do the same
# Conflicts:
#	src/interactions/brush.js
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
# Conflicts:
#	src/interactions/brush.js
# Conflicts:
#	src/interactions/brush.d.ts
#	src/interactions/brush.js
#	test/plots/brush.ts
# Conflicts:
#	docs/interactions/brush.md
#	src/interactions/brush.d.ts
#	test/brush-test.ts
@Fil Fil mentioned this pull request Feb 20, 2026
Fil added 2 commits February 20, 2026 18:26
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant