UNPKG

ag-charts-community

Version:

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

16 lines (15 loc) 745 B
import type { AgTimeInterval, AgTimeIntervalUnit } from 'ag-charts-types'; import type { OrdinalTimeScale } from '../../scale/ordinalTimeScale'; import type { TimeScale } from '../../scale/timeScale'; import type { UnitTimeScale } from '../../scale/unitTimeScale'; import { BaseProperties } from '../../util/properties'; export type TickInterval<S> = S extends TimeScale | OrdinalTimeScale | UnitTimeScale ? number | AgTimeInterval | AgTimeIntervalUnit : number; export declare class AxisTick extends BaseProperties { enabled: boolean; /** The line width to be used by axis ticks. */ width: number; /** The line length to be used by axis ticks. */ size: number; /** The color of the axis ticks. */ stroke?: string; }