e_locale | R Documentation |
Change the locale to auto-translate days of the week, etc.
e_locale(e, locale)
e_locale_manual(e, locale, path)
e |
An |
locale |
Locale to set to. |
path |
Path to the local file to use. |
The "manual" function expects a file to use for translations. You can browse the '.js' files [here](https://github.com/apache/echarts/tree/master/i18n) to have an idea of what they should look like.
- CS - DE - EN - ES - FI - FR - JA - PT (brazil) - SI - TH - ZH
# top right corner zoom is in
# French
cars |>
e_charts(speed) |>
e_scatter(dist) |>
e_datazoom() |>
e_locale("FR")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.