Localization in JavaScript Chart control
18 Nov 20181 minute to read
The localization library localizes the Chart’s default text content. Static text used by chart features (for example, zoom toolbar labels) can be translated by providing a locale value and a translation object.
| Locale keys | Text to display |
| Zoom | Zoom |
| ZoomIn | ZoomIn |
| ZoomOut | ZoomOut |
| Reset | Reset |
| Pan | Pan |
| ResetZoom | Reset Zoom |
To load translations in an application, use the L10n.load() function.
For more information about localization, see the localization guide: localization