Localization
Yagr supports English ('en') and Russian ('ru'). You can provide your own localization keys using settings.locale.
- setup language:
settings.locale = 'en' - provide keyset:
settings.locale = {'hide-all': 'Hide all lines', ... }
Keyset
hide-all- Legend Text of the button used to hide all lines.show-all- Legend Text of the button used to show all lines.sum- Tooltip Sum word at the bottom of lines.scale- Tooltip Scale word at the top of lines.
Was the article helpful?
Previous