Learn R Programming

echarts4r (version 0.4.4)

e_locale: Locale

Description

Change the locale to auto-translate days of the week, etc.

Usage

e_locale(e, locale)

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

locale

Locale to set to.

Locales

- CS - DE - EN - ES - FI - FR - JA - PT (brazil) - SI - TH - ZH

Examples

Run this code
# top right corner zoom is in 
# Portuguese
cars |> 
 e_charts(speed) |> 
 e_scatter(dist) |> 
 e_datazoom() |> 
 e_locale("PT")

Run the code above in your browser using DataLab