/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Specifies the allowed time-interval steps when `baseUnit` is set to either `"fit"` or `"auto"`. * * Divides the active period into the smallest possible intervals * that do not exceed the set `maxDateGroups` value. * * * ```html * * * * * ``` * ```ts * public baseUnitSteps: AutoBaseUnitSteps = { * // Do not allow zooming into hours * weeks: [], * }; * ``` */ export interface AutoBaseUnitSteps { /** * Specifies the interval steps when displaying milliseconds. */ milliseconds?: number[]; /** * Specifies the interval steps when displaying seconds. */ seconds?: number[]; /** * Specifies the interval steps when displaying minutes. */ minutes?: number[]; /** * Specifies the interval steps when displaying hours. */ hours?: number[]; /** * Specifies the interval steps when displaying days. */ days?: number[]; /** * Specifies the interval steps when displaying weeks. */ weeks?: number[]; /** * Specifies the interval steps when displaying months. */ months?: number[]; /** * Specifies the interval steps when displaying years. */ years?: number[]; }