Change the locale to auto-translate days of the week, etc.
Arguments
- e
An
echarts4r
object as returned bye_charts
or a proxy as returned byecharts4rProxy
.- locale
Locale to set to.
- path
Path to the local file to use.
Details
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.
Examples
# top right corner zoom is in
# French
cars |>
e_charts(speed) |>
e_scatter(dist) |>
e_datazoom() |>
e_locale("FR")