UNPKG

2 kBTypeScriptView Raw
1import { EventEmitter, ElementRef, OnChanges } from '@angular/core';
2import { DataItem } from '../models/chart-data.model';
3import { Gradient } from '../common/types/gradient.interface';
4import { BarOrientation } from '../common/types/bar-orientation.enum';
5import * as i0 from "@angular/core";
6export declare class TreeMapCellComponent implements OnChanges {
7 data: DataItem;
8 fill: string;
9 x: number;
10 y: number;
11 width: number;
12 height: number;
13 label: string;
14 value: any;
15 valueFormatting: any;
16 labelFormatting: any;
17 gradient: boolean;
18 animations: boolean;
19 select: EventEmitter<any>;
20 gradientStops: Gradient[];
21 gradientId: string;
22 gradientUrl: string;
23 element: HTMLElement;
24 transform: string;
25 formattedLabel: string;
26 formattedValue: string;
27 initialized: boolean;
28 orientation: typeof BarOrientation;
29 constructor(element: ElementRef);
30 ngOnChanges(): void;
31 update(): void;
32 loadAnimation(): void;
33 getTextColor(): string;
34 animateToCurrentForm(): void;
35 onClick(): void;
36 getGradientStops(): Gradient[];
37 static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapCellComponent, never>;
38 static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapCellComponent, "g[ngx-charts-tree-map-cell]", never, { "data": { "alias": "data"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
39}