UNPKG

2.42 kBTypeScriptView Raw
1import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2import { YAxisTicksComponent } from './y-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 YAxisComponent implements OnChanges {
7 yScale: any;
8 dims: ViewDimensions;
9 trimTicks: boolean;
10 maxTickLength: number;
11 tickFormatting: any;
12 ticks: any[];
13 showGridLines: boolean;
14 showLabel: boolean;
15 labelText: string;
16 yAxisTickCount: any;
17 yOrient: Orientation;
18 referenceLines: any;
19 showRefLines: boolean;
20 showRefLabels: boolean;
21 yAxisOffset: number;
22 wrapTicks: boolean;
23 dimensionsChanged: EventEmitter<any>;
24 yAxisClassName: string;
25 tickArguments: number[];
26 offset: number;
27 transform: string;
28 labelOffset: number;
29 fill: string;
30 stroke: string;
31 tickStroke: string;
32 strokeWidth: number;
33 padding: number;
34 ticksComponent: YAxisTicksComponent;
35 ngOnChanges(changes: SimpleChanges): void;
36 update(): void;
37 emitTicksWidth({ width }: {
38 width: any;
39 }): void;
40 static ɵfac: i0.ɵɵFactoryDeclaration<YAxisComponent, never>;
41 static ɵcmp: i0.ɵɵComponentDeclaration<YAxisComponent, "g[ngx-charts-y-axis]", never, { "yScale": { "alias": "yScale"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "trimTicks": { "alias": "trimTicks"; "required": false; }; "maxTickLength": { "alias": "maxTickLength"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; "ticks": { "alias": "ticks"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "yAxisTickCount": { "alias": "yAxisTickCount"; "required": false; }; "yOrient": { "alias": "yOrient"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "required": false; }; "yAxisOffset": { "alias": "yAxisOffset"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
42}