Home > @activeviam/activeui-sdk > DefaultChartTimeFormatterParameters
DefaultChartTimeFormatterParameters interface
Automatically format a date based on how much details the date contains.
Signature:
export interface DefaultChartTimeFormatterParameters
Remarks
If the date contains milliseconds, the date will be formatted in milliseconds.
If the date contains seconds, the date will be formatted in seconds.
If the date contains minutes, the date will be formatted in minutes.
If the date contains hours, the date will be formatted in hours.
If the date contains days, the date will be formatted in days.
If the date contains months, the date will be formatted in month.
Otherwise the date will be formatted in years.