/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Specifies the `baseUnit` type of a X or Y axis. * * The possible values are: * - `"milliseconds"`—Sets the base unit to milliseconds. * - `"seconds"`—Sets the base unit to seconds. * - `"minutes"`—Sets the base unit to minutes. * - `"hours"`—Sets the base unit to hours. * - `"days"`—Sets the base unit to days. * - `"weeks"`—Sets the base unit to weeks. * - `"months"`—Sets the base unit to months. * - `"years"`—Sets the base unit to years. * * @example * ```ts * import { Component } from '@angular/core'; * import { BaseUnit } from '@progress/kendo-angular-charts'; * * _@Component({ * selector: 'my-app', * template: ` * * * * * * * * * * * ` * }) * class AppComponent { * public baseUnit: BaseUnit = "months"; * public data: any[] = [[new Date(2000, 0, 1), 1], [new Date(2001, 0, 1), 1]]; * } * * ``` */ export type BaseUnit = 'milliseconds' | 'seconds' | 'minutes' | 'hours' | 'days' | 'weeks' | 'months' | 'years';