RowAxisWithGrid
Auto-generated from the config schema in the source. See the config guide for concepts. Built into JBrowse core. View source.
A RowAxis with grid, Vega-Lite's word for the lines an axis
carries across the plot: here a hairline between adjacent rows.
Example usage
{ type: 'LinearWiggleDisplay', rows: { field: 'source', axis: { grid: true, labels: false } } }Related links
- Base config: RowAxis
Config slots
A setting written to it names members one by one: a member left out stays as it is, and null resets one. Slot types (fileLocation, frozen, ...) are explained in the config slot types reference. Slots a base configuration contributes are listed here too, so this table is the whole surface.
| Slot | Description |
|---|---|
gridboolean = false |
Off by default: rows that differ in color already show a boundary. Drawn only once rows are at least 4px tall, below which the line is as thick as the row. |
| Inherited from RowAxis | 4 slots |
treeboolean = true |
Whether the tree draws; the tree itself is rows.tree. |
branchLengthboolean = true |
position tree nodes by branch length (dendrogram) rather than evenly by topology (cladogram) |
labelsboolean = true |
The names draw over the plot, in a strip as wide as the widest name up to 120px, so on a wide view the left of every row sits under them. The text a row's label takes is rows.labels. |
widthnumber = 80 |
A drag on the sidebar's edge writes this, as a drag on the track's bottom edge writes height. |