Skip to content

setLocale(locale) ​

setLocale set the locale for the chart.

Reference ​

typescript
(locale: string) => void

Parameters ​

  • locale Locale name, zh-CN and en-US are built-in.

Returns ​

setLocale returns undefined .

Usage ​

Basic usage ​

Locale extension ​