UNPKG

1.12 kBTypeScriptView Raw
1import { SimpleChanges, EventEmitter, OnChanges } from '@angular/core';
2import { XAxisTicksComponent } from './x-axis-ticks.component';
3import { Orientation } from '../types/orientation.enum';
4import { ViewDimensions } from '../types/view-dimension.interface';
5export declare class XAxisComponent implements OnChanges {
6 xScale: any;
7 dims: ViewDimensions;
8 trimTicks: boolean;
9 rotateTicks: boolean;
10 maxTickLength: number;
11 tickFormatting: any;
12 showGridLines: boolean;
13 showLabel: boolean;
14 labelText: string;
15 ticks: any[];
16 xAxisTickCount: number;
17 xOrient: Orientation;
18 xAxisOffset: number;
19 dimensionsChanged: EventEmitter<any>;
20 xAxisClassName: string;
21 tickArguments: number[];
22 transform: string;
23 labelOffset: number;
24 fill: string;
25 stroke: string;
26 tickStroke: string;
27 strokeWidth: string;
28 padding: number;
29 readonly orientation: typeof Orientation;
30 ticksComponent: XAxisTicksComponent;
31 ngOnChanges(changes: SimpleChanges): void;
32 update(): void;
33 emitTicksHeight({ height }: {
34 height: any;
35 }): void;
36}