ZoomCharts Documentation
Version: 1.21.1 (2024-11-08)
TimeChart.settings.localization.infoDates.majorTimeFormats
This section is defined by the type TimeChartSettingsLocalizationTimeUnits.
The formats used for the major unit when displaying a time range where the major unit is the same, for example, the selection contains multiple days from the same week.
If the display unit is days, the resulting header text is shown as
minorTimeFormats.d(from) - minorTimeFormats.d(to) majorTimeFormats.d(from)
, e.g.
Feb 24 - Feb 26 2016
.
Properties
M: string
Default value: "YYYY"
Months
d: string
Default value: "YYYY"
h: string
Default value: "MMM D, YYYY"
m: string
Default value: "MMM D, YYYY"
Minutes
ms: string
Default value: "MMM D, YYYY"
Milliseconds
s: string
Default value: "MMM D, YYYY"
w: string
Default value: "GGGG"
y: string
Default value: null