Skip to content

Filter Scored Lables

The "filterScoredLables" transform fits prioritized labels into the available space, and dynamically reflows the data when the scale domain is adjusted (i.e., zoomed).

For an usage example, check the Annotation Tracks notebook.

Parameters

channel
Default: "x"
lane
An optional field representing element's lane, e.g., if transcripts are shown using a piled up layout.
padding

Padding (in pixels) around the element.

Default: 0

pos Required
The field representing element's position on the domain.
score Required
The field representing the score used for prioritization.
width Required
The field representing element's width in pixels