ZoomCharts Documentation

ZoomCharts.Configuration.TimeChartSettingsLocalizationCalendar

Methods

This type does not define any methods.

Properties

months: Array<string>
specify `parentLocale` instead and use the localization file provided by moment.js
Version 1.14.0: deprecated the setting.
monthsShort: Array<string>
specify `parentLocale` instead and use the localization file provided by moment.js
Version 1.14.0: deprecated the setting.
parentLocale: string
Introduced in version 1.14.0.

Specify the moment.js locale that should be used in the chart. While it is possible to set months, weekdays etc. in the TimeChart settings, the parentLocale should be used instead as the TimeChart settings do not expose all available options and it recommended to use the locales that are provided by moment.js.

Note that using this setting requires moment.js 2.12.0 or newer and the locale file must be included in the page - the chart will not download it automatically.

specify `parentLocale` instead and use the localization file provided by moment.js
Version 1.14.0: deprecated the setting.
Properties
dow: number
specify `parentLocale` instead and use the localization file provided by moment.js
Introduced in version 1.10.0.
Version 1.14.0: deprecated the setting.

Specifies the first day of the week. The default is 1 - Monday. Use either 0 or 7 for Sunday.

doy: number
specify `parentLocale` instead and use the localization file provided by moment.js
Introduced in version 1.10.0.
Version 1.14.0: deprecated the setting.

Specifies how the first week of the year is calculated. The default is 4 - the week that contains Jan 4th is counted as the first.

Note that this setting is not used by default because the default formatting specifies ISO week numbering. If you want to change that, use w and gggg when specifying the week format strings.

weekdays: Array<string>
specify `parentLocale` instead and use the localization file provided by moment.js
Version 1.14.0: deprecated the setting.
weekdaysMin: Array<string>
specify `parentLocale` instead and use the localization file provided by moment.js
Version 1.14.0: deprecated the setting.
weekdaysShort: Array<string>
specify `parentLocale` instead and use the localization file provided by moment.js
Version 1.14.0: deprecated the setting.
X