UNPKG

1.58 kBTypeScriptView Raw
1import { EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
2import { PieGridData, PieGridDataItem } from '../models/chart-data.model';
3import * as i0 from "@angular/core";
4export interface PieArc {
5 animate: boolean;
6 class: string;
7 data: PieGridDataItem;
8 endAngle: number;
9 fill: string;
10 pointerEvents: boolean;
11 startAngle: number;
12}
13export declare class PieGridSeriesComponent implements OnChanges {
14 colors: any;
15 data: PieGridData[];
16 innerRadius: number;
17 outerRadius: number;
18 animations: boolean;
19 select: EventEmitter<any>;
20 activate: EventEmitter<any>;
21 deactivate: EventEmitter<any>;
22 element: HTMLElement;
23 layout: any;
24 arcs: PieArc[];
25 constructor(element: ElementRef);
26 ngOnChanges(changes: SimpleChanges): void;
27 update(): void;
28 getArcs(): PieArc[];
29 onClick(data: any): void;
30 trackBy(index: any, item: any): string;
31 label(arc: any): string;
32 color(arc: any): string;
33 static ɵfac: i0.ɵɵFactoryDeclaration<PieGridSeriesComponent, never>;
34 static ɵcmp: i0.ɵɵComponentDeclaration<PieGridSeriesComponent, "g[ngx-charts-pie-grid-series]", never, { "colors": { "alias": "colors"; "required": false; }; "data": { "alias": "data"; "required": false; }; "innerRadius": { "alias": "innerRadius"; "required": false; }; "outerRadius": { "alias": "outerRadius"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
35}