UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

12 lines (11 loc) 508 B
import type { AgTimeInterval, AgTimeIntervalUnit } from 'ag-charts-types'; import { BandScale } from './bandScale'; export declare abstract class DiscreteTimeScale extends BandScale<Date, AgTimeInterval | AgTimeIntervalUnit | number> { static is(value: unknown): value is DiscreteTimeScale; toDomain(value: number): Date; convert(value: Date, options?: { clamp?: boolean; interpolate?: boolean; }): number; invert(position: number, nearest?: boolean): Date | undefined; }