UNPKG

1.43 kBTypeScriptView Raw
1import { OnChanges, SimpleChanges, ElementRef, EventEmitter } from '@angular/core';
2import { BarOrientation } from '../common/types/bar-orientation.enum';
3import * as i0 from "@angular/core";
4export declare class BarLabelComponent implements OnChanges {
5 value: any;
6 valueFormatting: any;
7 barX: any;
8 barY: any;
9 barWidth: any;
10 barHeight: any;
11 orientation: BarOrientation;
12 dimensionsChanged: EventEmitter<any>;
13 element: any;
14 x: number;
15 y: number;
16 horizontalPadding: number;
17 verticalPadding: number;
18 formatedValue: string;
19 transform: string;
20 textAnchor: string;
21 constructor(element: ElementRef);
22 ngOnChanges(changes: SimpleChanges): void;
23 getSize(): any;
24 ngAfterViewInit(): void;
25 update(): void;
26 static ɵfac: i0.ɵɵFactoryDeclaration<BarLabelComponent, never>;
27 static ɵcmp: i0.ɵɵComponentDeclaration<BarLabelComponent, "g[ngx-charts-bar-label]", never, { "value": { "alias": "value"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "barX": { "alias": "barX"; "required": false; }; "barY": { "alias": "barY"; "required": false; }; "barWidth": { "alias": "barWidth"; "required": false; }; "barHeight": { "alias": "barHeight"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
28}