UNPKG

1.75 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import { ColorHelper } from '../common/color.helper';
3import { BaseChartComponent } from '../common/base-chart.component';
4import { DataItem } from '../models/chart-data.model';
5import { ViewDimensions } from '../common/types/view-dimension.interface';
6import * as i0 from "@angular/core";
7export declare class AdvancedPieChartComponent extends BaseChartComponent {
8 gradient: boolean;
9 activeEntries: any[];
10 tooltipDisabled: boolean;
11 tooltipText: any;
12 label: string;
13 activate: EventEmitter<any>;
14 deactivate: EventEmitter<any>;
15 tooltipTemplate: TemplateRef<any>;
16 dims: ViewDimensions;
17 domain: string[];
18 outerRadius: number;
19 innerRadius: number;
20 transform: string;
21 colors: ColorHelper;
22 legendWidth: number;
23 margin: number[];
24 valueFormatting: (value: number) => any;
25 nameFormatting: (value: string) => any;
26 percentageFormatting: (value: number) => any;
27 update(): void;
28 getDomain(): string[];
29 onClick(data: DataItem): void;
30 setColors(): void;
31 onActivate(item: any, fromLegend?: boolean): void;
32 onDeactivate(item: any, fromLegend?: boolean): void;
33 static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedPieChartComponent, never>;
34 static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedPieChartComponent, "ngx-charts-advanced-pie-chart", never, { "gradient": "gradient"; "activeEntries": "activeEntries"; "tooltipDisabled": "tooltipDisabled"; "tooltipText": "tooltipText"; "label": "label"; "valueFormatting": "valueFormatting"; "nameFormatting": "nameFormatting"; "percentageFormatting": "percentageFormatting"; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never>;
35}