UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

33 lines (32 loc) 825 B
import { RangePreset, IRelativeTime, IQuarterTime } from '@qn-pandora/pandora-component'; export declare const enum ChartTimeType { Custom = "custom", Global = "global" } export declare const ChartTimeTypeOptions: { value: ChartTimeType; item: string; }[]; export declare enum TimeShiftUnit { Second = "seconds", Minute = "minutes", Hour = "hours", Day = "days", Month = "months", Year = "years" } export declare const TimeShiftUnitOptions: { value: TimeShiftUnit; text: string; }[]; export interface ITimeRange { relative?: IRelativeTime; preset?: string; timeShift?: string; global?: boolean; from?: string | null; to?: string | null; rangePreset?: RangePreset; quarterTime?: IQuarterTime; } export declare const defaultTimeRange: ITimeRange;