ActiveUI

ActiveUI

  • User Guide
  • Developer Documentation

Home > @activeviam/activeui-sdk > SimplifiedChartTimeFormatterParameters

SimplifiedChartTimeFormatterParameters interface

Automatically format a date based on how much details the date contains.

Signature:

export interface SimplifiedChartTimeFormatterParameters 

Remarks

If the date contains milliseconds, the date will be formatted in 'minutes:seconds.milliseconds' format.

If the date contains seconds, the date will be formatted in 'hours:minutes:seconds' format.

If the date contains minutes, the date will be formatted in 'years/month/day hours:minutes:seconds' format.

If the date contains hours, the date will be formatted in 'years/month/day hours:minutes' format.

Otherwise the date will be formatted in 'years/month/day' format.

  • SimplifiedChartTimeFormatterParameters interface
  • Remarks
Copyright © 2019 ActiveViam