UNPKG

ag-charts-community

Version:

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

16 lines (15 loc) 695 B
import type { OrdinalTimeScale } from '../../scale/ordinalTimeScale'; import type { TimeScale } from '../../scale/timeScale'; import type { UnitTimeScale } from '../../scale/unitTimeScale'; import { BaseProperties } from '../../util/properties'; import { TimeInterval } from '../../util/time'; export type TickInterval<S> = S extends TimeScale | OrdinalTimeScale | UnitTimeScale ? number | TimeInterval : 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; }