UNPKG

1.43 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import { BaseChartComponent } from '../common/base-chart.component';
3import { ColorHelper } from '../common/color.helper';
4import { DataItem } from '../models/chart-data.model';
5import { ViewDimensions } from '../common/types/view-dimension.interface';
6import * as i0 from "@angular/core";
7export declare class TreeMapComponent extends BaseChartComponent {
8 results: DataItem[];
9 tooltipDisabled: boolean;
10 valueFormatting: any;
11 labelFormatting: any;
12 gradient: boolean;
13 select: EventEmitter<any>;
14 tooltipTemplate: TemplateRef<any>;
15 dims: ViewDimensions;
16 domain: any;
17 transform: any;
18 colors: ColorHelper;
19 treemap: any;
20 data: DataItem;
21 margin: number[];
22 update(): void;
23 getDomain(): any[];
24 onClick(data: DataItem): void;
25 setColors(): void;
26 static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapComponent, never>;
27 static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapComponent, "ngx-charts-tree-map", never, { "results": { "alias": "results"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; }, { "select": "select"; }, ["tooltipTemplate"], never, false, never>;
28}