All Components

DateFormats

The format used to display the labels when they are dates.

The Chart chooses the appropriate format for the current baseUnit.
Setting the format option of the labels overrides the date formats.

days? string

The format to use when the axis baseUnit is set to "days".

hours? string

The format to use when the axis baseUnit is set to "hours".

milliseconds? string

The format to use when the axis baseUnit is set to "milliseconds".

minutes? string

The format to use when the axis baseUnit is set to "minutes".

months? string

The format to use when the axis baseUnit is set to "months".

seconds? string

The format to use when the axis baseUnit is set to "seconds".

weeks? string

The format to use when the axis baseUnit is set to "weeks".

years? string

The format to use when the axis baseUnit is set to "years".

In this article