UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

25 lines (24 loc) 1.18 kB
import { ChangeDetectorRef, OnInit } from '@angular/core'; import { ContextChartService } from '../../chart.service'; import { Orientation, Tick, TickValue } from '../../types'; import * as i0 from "@angular/core"; export declare class XAxisTicksComponent implements OnInit { private readonly contextService; private readonly cdr; dateFormat: string; translation: boolean; textAnchor: string; orientation: typeof Orientation; get context(): ContextChartService; ticks: Tick[]; get yAxisLine(): string; get xAxisLine(): string; getTicks(): Tick[]; handleTicksData: (value: TickValue) => Tick; getMaxTicks(tickWidth: number): number; constructor(contextService: ContextChartService, cdr: ChangeDetectorRef); ngOnInit(): void; format(value: string | number | Date): string | number | Date; static ɵfac: i0.ɵɵFactoryDeclaration<XAxisTicksComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<XAxisTicksComponent, "g[aclXAxisTicks]", never, { "dateFormat": { "alias": "dateFormat"; "required": false; }; "translation": { "alias": "translation"; "required": false; }; }, {}, never, never, false, never>; }