1 | import { OnChanges, ElementRef, EventEmitter, AfterViewInit, SimpleChanges } 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 YAxisTicksComponent 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 | gridLineWidth: number;
|
17 | height: number;
|
18 | referenceLines: any;
|
19 | showRefLabels: boolean;
|
20 | showRefLines: boolean;
|
21 | wrapTicks: boolean;
|
22 | dimensionsChanged: EventEmitter<any>;
|
23 | innerTickSize: number;
|
24 | tickPadding: number;
|
25 | tickSpacing: number;
|
26 | verticalSpacing: number;
|
27 | textAnchor: TextAnchor;
|
28 | dy: string;
|
29 | x1: number;
|
30 | x2: number;
|
31 | y1: number;
|
32 | y2: number;
|
33 | adjustedScale: any;
|
34 | transform: (o: any) => string;
|
35 | tickFormat: (o: any) => string;
|
36 | ticks: any[];
|
37 | width: number;
|
38 | outerTickSize: number;
|
39 | rotateLabels: boolean;
|
40 | refMax: number;
|
41 | refMin: number;
|
42 | referenceLineLength: number;
|
43 | referenceAreaPath: string;
|
44 | readonly Orientation: typeof Orientation;
|
45 | ticksElement: ElementRef;
|
46 | constructor(platformId: any);
|
47 | ngOnChanges(changes: SimpleChanges): void;
|
48 | ngAfterViewInit(): void;
|
49 | updateDims(): void;
|
50 | update(): void;
|
51 | setReferencelines(): void;
|
52 | getTicks(): any[];
|
53 | getMaxTicks(tickHeight: number): number;
|
54 | tickTransform(tick: number): string;
|
55 | gridLineTransform(): string;
|
56 | tickTrim(label: string): string;
|
57 | getApproximateAxisWidth(): number;
|
58 | tickChunks(label: string): string[];
|
59 | static ɵfac: i0.ɵɵFactoryDeclaration<YAxisTicksComponent, never>;
|
60 | static ɵcmp: i0.ɵɵComponentDeclaration<YAxisTicksComponent, "g[ngx-charts-y-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; }; "gridLineWidth": { "alias": "gridLineWidth"; "required": false; }; "height": { "alias": "height"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
|
61 | }
|