WiggleEncoding
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the wiggle plugin. View source.
The quantitative display's encoding, the channels its marks paint
through.
Example usage
{ type: 'LinearWiggleDisplay', encoding: { color: { value: 'darkgreen' } } }The bins' maxima on a log axis, with a labelled line at 30:
{
type: 'LinearWiggleDisplay',
encoding: {
y: {
field: 'maxScore',
scale: { type: 'log' },
rules: [{ value: 30, label: '2 copies' }],
},
},
}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 |
|---|---|
| color WiggleColor | One CSS color in value, or the score through a scale, with a key. |
| y YFieldChannel | The value axis, a YFieldChannel: field, the summary or column each mark plots, and the scale, axis and rules it is drawn through. scale.fenceQuantile starts at 0.99, fencing a spike. The density rendering draws no rule and does not widen to one: it spends color on the score and has no axis to rule. |
Related links
- Config guide: Quantitative track