FigureLegend
Auto-generated from the config schema in the source. See the config guide for concepts. Built into JBrowse core. View source.
The legend of a display whose key is off on screen until asked for but
drawn in an SVG export, a matrix's color ramp: a heatmap figure needs its
scale where a browsing reader does not.
Example usage
{ type: 'LinearHicDisplay', legend: { show: false } }Related links
- Base config: Legend
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 |
|---|---|
showmaybeBoolean |
draw the key; unset draws it in an SVG export and not on screen |