UNPKG

2.26 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';
5import * as i0 from "@angular/core";
6export declare class XAxisComponent implements OnChanges {
7 xScale: any;
8 dims: ViewDimensions;
9 trimTicks: boolean;
10 rotateTicks: boolean;
11 maxTickLength: number;
12 tickFormatting: any;
13 showGridLines: boolean;
14 showLabel: boolean;
15 labelText: string;
16 ticks: any[];
17 xAxisTickCount: number;
18 xOrient: Orientation;
19 xAxisOffset: number;
20 wrapTicks: boolean;
21 dimensionsChanged: EventEmitter<any>;
22 xAxisClassName: string;
23 tickArguments: number[];
24 transform: string;
25 labelOffset: number;
26 fill: string;
27 stroke: string;
28 tickStroke: string;
29 strokeWidth: string;
30 padding: number;
31 readonly orientation: typeof Orientation;
32 ticksComponent: XAxisTicksComponent;
33 ngOnChanges(changes: SimpleChanges): void;
34 update(): void;
35 emitTicksHeight({ height }: {
36 height: any;
37 }): void;
38 static ɵfac: i0.ɵɵFactoryDeclaration<XAxisComponent, never>;
39 static ɵcmp: i0.ɵɵComponentDeclaration<XAxisComponent, "g[ngx-charts-x-axis]", never, { "xScale": { "alias": "xScale"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "trimTicks": { "alias": "trimTicks"; "required": false; }; "rotateTicks": { "alias": "rotateTicks"; "required": false; }; "maxTickLength": { "alias": "maxTickLength"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "ticks": { "alias": "ticks"; "required": false; }; "xAxisTickCount": { "alias": "xAxisTickCount"; "required": false; }; "xOrient": { "alias": "xOrient"; "required": false; }; "xAxisOffset": { "alias": "xAxisOffset"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
40}