Block: Legend
The
Legend
block is used to display a coloured legend.LegendConfig
Name | Type | Required | Description |
---|---|---|---|
kind |
"Legend" |
Yes | Legend |
labels |
List<string > |
No | |
colours |
List<List<number » |
No | |
type |
"Categorical" | "Staggered" |
No | |
subscribe |
List<LegendModelSubscription> | No | Subscribe to one or more sources |
LegendModelSubscription
Name | Type | Required | Description |
---|---|---|---|
kind |
"Model" |
Yes | |
frame |
string |
Yes | |
source |
string |
Yes | |
legend |
string |
Yes |