package.dist.services.time-series.d.ts Maven / Gradle / Ivy
import { Locale } from '../interfaces/components';
import { TimeIntervalFormats, TimeScaleOptions } from '../interfaces/axis-scales';
export declare const TIME_INTERVALS: (string | number)[][];
export declare function isTickPrimary(tick: number, i: number, allTicks: Array, interval: string, showDayName: boolean): boolean;
export declare function formatTick(tick: number, i: number, allTicks: Array, interval: string, timeScaleOptions: TimeScaleOptions, localeOptions?: Locale): string;
export declare function getTimeformats(timestamp: number): {
M: number;
d: number;
H: number;
m: number;
s: number;
};
export declare function computeTimeIntervalName(ticks: number[], intervalOverride?: keyof TimeIntervalFormats): string;
export declare function formatDateTillMilliSeconds(date: Date): string;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy