UNPKG

2.11 kBTypeScriptView Raw
1import { OnChanges, SimpleChanges, EventEmitter, TemplateRef } from '@angular/core';
2import { ColorHelper } from '../common/color.helper';
3import { DataItem } from '../models/chart-data.model';
4import { StyleTypes } from '../common/tooltip/style.type';
5import { PlacementTypes } from '../common/tooltip/position';
6import { ViewDimensions } from '../common/types/view-dimension.interface';
7import * as i0 from "@angular/core";
8interface TreeMapCell {
9 data: DataItem;
10 fill: string;
11 height: number;
12 label: string;
13 value: any;
14 width: number;
15 x: number;
16 y: number;
17}
18export declare class TreeMapCellSeriesComponent implements OnChanges {
19 data: any;
20 dims: ViewDimensions;
21 colors: ColorHelper;
22 valueFormatting: any;
23 labelFormatting: any;
24 gradient: boolean;
25 tooltipDisabled: boolean;
26 tooltipTemplate: TemplateRef<any>;
27 animations: boolean;
28 select: EventEmitter<any>;
29 cells: TreeMapCell[];
30 styleTypes: typeof StyleTypes;
31 placementTypes: typeof PlacementTypes;
32 ngOnChanges(changes: SimpleChanges): void;
33 getCells(): TreeMapCell[];
34 getTooltipText({ label, value }: {
35 label: any;
36 value: any;
37 }): string;
38 onClick(data: any): void;
39 trackBy(index: any, item: any): string;
40 static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapCellSeriesComponent, never>;
41 static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapCellSeriesComponent, "g[ngx-charts-tree-map-cell-series]", never, { "data": { "alias": "data"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
42}
43export {};