You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With #3662 fixed, one could provide both the identifier (key in data.names) and the friendly name (value in data.names) as arguments in the legend.format function. If data.names is not used in the config, both arguments could just contain the same value.
This would allow to use systematically named "keys"/"identifiers" and then apply different formattings based on them.
Imagine variable language-localized friendly names ("values") loaded from an external source and invariant identifiers ("keys"). One could then easily switch based on the known keys to shorten/adjust the localized values without having to parse the latter.
The text was updated successfully, but these errors were encountered:
Description
With #3662 fixed, one could provide both the identifier (key in data.names) and the friendly name (value in data.names) as arguments in the legend.format function. If data.names is not used in the config, both arguments could just contain the same value.
This would allow to use systematically named "keys"/"identifiers" and then apply different formattings based on them.
Imagine variable language-localized friendly names ("values") loaded from an external source and invariant identifiers ("keys"). One could then easily switch based on the known keys to shorten/adjust the localized values without having to parse the latter.
The text was updated successfully, but these errors were encountered: