1 | import { EventEmitter, OnChanges, ElementRef, SimpleChanges, AfterViewInit } from '@angular/core';
|
2 | import { Orientation } from '../types/orientation.enum';
|
3 | import { TextAnchor } from '../types/text-anchor.enum';
|
4 | import * as i0 from "@angular/core";
|
5 | export declare class XAxisTicksComponent implements OnChanges, AfterViewInit {
|
6 | private platformId;
|
7 | scale: any;
|
8 | orient: Orientation;
|
9 | tickArguments: number[];
|
10 | tickValues: string[] | number[];
|
11 | tickStroke: string;
|
12 | trimTicks: boolean;
|
13 | maxTickLength: number;
|
14 | tickFormatting: any;
|
15 | showGridLines: boolean;
|
16 | gridLineHeight: number;
|
17 | width: number;
|
18 | rotateTicks: boolean;
|
19 | wrapTicks: boolean;
|
20 | dimensionsChanged: EventEmitter<any>;
|
21 | verticalSpacing: number;
|
22 | rotateLabels: boolean;
|
23 | innerTickSize: number;
|
24 | outerTickSize: number;
|
25 | tickPadding: number;
|
26 | textAnchor: TextAnchor;
|
27 | maxTicksLength: number;
|
28 | maxAllowedLength: number;
|
29 | adjustedScale: any;
|
30 | textTransform: string;
|
31 | ticks: any[];
|
32 | tickFormat: (o: any) => any;
|
33 | height: number;
|
34 | approxHeight: number;
|
35 | maxPossibleLengthForTickIfWrapped: number;
|
36 | ticksElement: ElementRef;
|
37 | get isWrapTicksSupported(): any;
|
38 | constructor(platformId: any);
|
39 | ngOnChanges(changes: SimpleChanges): void;
|
40 | ngAfterViewInit(): void;
|
41 | updateDims(): void;
|
42 | update(): void;
|
43 | getRotationAngle(ticks: any[]): number;
|
44 | getTicks(): any[];
|
45 | getMaxTicks(tickWidth: number): number;
|
46 | tickTransform(tick: number): string;
|
47 | gridLineTransform(): string;
|
48 | tickTrim(label: string): string;
|
49 | getMaxPossibleLengthForTick(longestLabel: string): number;
|
50 | tickChunks(label: string): string[];
|
51 | static ɵfac: i0.ɵɵFactoryDeclaration<XAxisTicksComponent, never>;
|
52 | static ɵcmp: i0.ɵɵComponentDeclaration<XAxisTicksComponent, "g[ngx-charts-x-axis-ticks]", never, { "scale": { "alias": "scale"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "tickArguments": { "alias": "tickArguments"; "required": false; }; "tickValues": { "alias": "tickValues"; "required": false; }; "tickStroke": { "alias": "tickStroke"; "required": false; }; "trimTicks": { "alias": "trimTicks"; "required": false; }; "maxTickLength": { "alias": "maxTickLength"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "gridLineHeight": { "alias": "gridLineHeight"; "required": false; }; "width": { "alias": "width"; "required": false; }; "rotateTicks": { "alias": "rotateTicks"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
|
53 | }
|