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
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:
Optionsoptions = ... // create your chart optionsLanguageOptionslang = newLanguageOptions();
lang.setResetZoom("Reset Zoom");
lang.setLoading("Loading...");
// ... translate other words via setter methods...Themetheme = newTheme();
theme.setLang(lang);
Then simply add the Theme to your chart as described [here](Using Themes)