Skip to content

setTimezone(timezone) ​

setTimezone set the timezone for the chart.

Reference ​

typescript
(timezone: string) => void

Parameters ​

  • timezone Timezone name, such as Asia/Shanghai. For a list of timezone names, see the List of Timezone .

Returns ​

setTimezone returns undefined .

Usage ​

Basic usage ​