ZoomCharts Documentation

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

Default value: "YYYY"

Months

Default value: "YYYY"
Default value: "MMM D, YYYY"
Default value: "MMM D, YYYY"

Minutes

ms: string
Default value: "MMM D, YYYY"

Milliseconds

Default value: "MMM D, YYYY"
Default value: "GGGG"
Default value: null
X