@alauda-fe/common
Version:
Alauda frontend team common codes.
34 lines (33 loc) • 1.3 kB
TypeScript
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
import { Subject } from 'rxjs';
import { ContextChartService } from '../../chart.service';
import { Orientation } from '../../types';
import * as i0 from "@angular/core";
export declare class YAxisTicksComponent implements OnInit, OnDestroy {
readonly context: ContextChartService;
private readonly cd;
intervalWidth: number;
suffix: string;
ticks: Array<{
value: number;
y: number;
x: number;
}>;
orientation: typeof Orientation;
textAnchor: string;
destroy$$: Subject<void>;
get yAxisLine(): string;
get xAxisLine(): string;
getTicks(): {
value: number;
y: number;
x: number;
}[];
getMaxTicks(tickHeight: number): number;
constructor(context: ContextChartService, cd: ChangeDetectorRef);
ngOnInit(): void;
conversionMaximum(value: number): string | number;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<YAxisTicksComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<YAxisTicksComponent, "g[aclYAxisTicks]", never, { "intervalWidth": { "alias": "intervalWidth"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; }, {}, never, never, false, never>;
}