Skip to content

Highcharts Feature: Localization

Alexander Nedomansky edited this page Mar 27, 2018 · 1 revision

Supported by:


Wicked Charts provides an API for localizing certain elements of your charts. The class to use for this is LanguageOptions. To localize a chart you currently have to create a Theme and add your LanguageOptions via setLang().

Specify localized Strings in Java code

Example Code to create a Theme with LanguageOptions:

Options options = ... // create your chart options
LanguageOptions lang = new LanguageOptions();
lang.setResetZoom("Reset Zoom");
lang.setLoading("Loading...");
// ... translate other words via setter methods...
Theme theme = new Theme();
theme.setLang(lang);

Then simply add the Theme to your chart as described [here](Using Themes)