/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Specifies the format that displays the labels when they are dates. * * Selects the appropriate format for the current `baseUnit`. * Setting the `format` option of the labels overrides the date formats. */ export interface DateFormats { /** * Specifies the format when the axis `baseUnit` is set to `"milliseconds"`. */ milliseconds?: string; /** * Specifies the format when the axis `baseUnit` is set to `"seconds"`. */ seconds?: string; /** * Specifies the format when the axis `baseUnit` is set to `"minutes"`. */ minutes?: string; /** * Specifies the format when the axis `baseUnit` is set to `"hours"`. */ hours?: string; /** * Specifies the format when the axis `baseUnit` is set to `"days"`. */ days?: string; /** * Specifies the format when the axis `baseUnit` is set to `"weeks"`. */ weeks?: string; /** * Specifies the format when the axis `baseUnit` is set to `"months"`. */ months?: string; /** * Specifies the format when the axis `baseUnit` is set to `"years"`. */ years?: string; }