1 | import { TemplateRef, EventEmitter } from '@angular/core';
|
2 | import { ColorHelper } from '../common/color.helper';
|
3 | import { BaseChartComponent } from '../common/base-chart.component';
|
4 | import { DataItem, PieGridData } from '../models/chart-data.model';
|
5 | import { PlacementTypes } from '../common/tooltip/position';
|
6 | import { StyleTypes } from '../common/tooltip/style.type';
|
7 | import { ViewDimensions } from '../common/types/view-dimension.interface';
|
8 | import * as i0 from "@angular/core";
|
9 | export declare class PieGridComponent extends BaseChartComponent {
|
10 | designatedTotal: number;
|
11 | tooltipDisabled: boolean;
|
12 | tooltipText: (o: any) => any;
|
13 | label: string;
|
14 | minWidth: number;
|
15 | activeEntries: any[];
|
16 | activate: EventEmitter<any>;
|
17 | deactivate: EventEmitter<any>;
|
18 | dims: ViewDimensions;
|
19 | data: PieGridData[];
|
20 | transform: string;
|
21 | series: any[];
|
22 | domain: string[];
|
23 | colorScale: ColorHelper;
|
24 | margin: number[];
|
25 | placementTypes: typeof PlacementTypes;
|
26 | styleTypes: typeof StyleTypes;
|
27 | tooltipTemplate: TemplateRef<any>;
|
28 | update(): void;
|
29 | defaultTooltipText({ data }: {
|
30 | data: any;
|
31 | }): string;
|
32 | getDomain(): string[];
|
33 | getSeries(): any[];
|
34 | getTotal(): any;
|
35 | onClick(data: DataItem): void;
|
36 | setColors(): void;
|
37 | onActivate(item: any, fromLegend?: boolean): void;
|
38 | onDeactivate(item: any, fromLegend?: boolean): void;
|
39 | static ɵfac: i0.ɵɵFactoryDeclaration<PieGridComponent, never>;
|
40 | static ɵcmp: i0.ɵɵComponentDeclaration<PieGridComponent, "ngx-charts-pie-grid", never, { "designatedTotal": { "alias": "designatedTotal"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
41 | }
|