-
Notifications
You must be signed in to change notification settings - Fork 0
Colorlegend
Ahmed Behairi edited this page May 6, 2025
·
2 revisions
Possibility to define how to render a colorlegend on the dashboard. Based on color-legend-element.
| Element | Type | Description |
|---|---|---|
| title | string | Text added to legend as title |
| range | [string] | List of hex colors strings which will be interpolated or used for categories |
| domain | [number | string] | List of domain entries, usually minimum and maximum value of domain, list of strings when using categorical scaletype
|
| tickFormat | string | Expression of how numbers should be formatted, e.g. ".0f" |
| tickValues | [number] | List of numbers for which tick values should be shown |
| scaleType | string | Can be continuous, discrete, threshold, categorical
|
| markType | string | Can be rect, circle, line: When using categorical type allows to define symbol to be used |