UNPKG

2.39 kBTypeScriptView Raw
1import { EventEmitter, ElementRef, SimpleChanges, OnChanges } from '@angular/core';
2import { DataItem } from '../models/chart-data.model';
3import { BarOrientation } from '../common/types/bar-orientation.enum';
4import * as i0 from "@angular/core";
5export declare class PieArcComponent implements OnChanges {
6 fill: string;
7 startAngle: number;
8 endAngle: number;
9 innerRadius: number;
10 outerRadius: number;
11 cornerRadius: number;
12 value: number;
13 max: number;
14 data: DataItem;
15 explodeSlices: boolean;
16 gradient: boolean;
17 animate: boolean;
18 pointerEvents: boolean;
19 isActive: boolean;
20 select: EventEmitter<any>;
21 activate: EventEmitter<any>;
22 deactivate: EventEmitter<any>;
23 dblclick: EventEmitter<any>;
24 barOrientation: typeof BarOrientation;
25 element: HTMLElement;
26 path: any;
27 startOpacity: number;
28 radialGradientId: string;
29 gradientFill: string;
30 initialized: boolean;
31 private _timeout;
32 constructor(element: ElementRef);
33 ngOnChanges(changes: SimpleChanges): void;
34 getGradient(): string;
35 getPointerEvents(): string;
36 update(): void;
37 calculateArc(): any;
38 loadAnimation(): void;
39 updateAnimation(): void;
40 onClick(): void;
41 onDblClick(event: MouseEvent): void;
42 static ɵfac: i0.ɵɵFactoryDeclaration<PieArcComponent, never>;
43 static ɵcmp: i0.ɵɵComponentDeclaration<PieArcComponent, "g[ngx-charts-pie-arc]", never, { "fill": { "alias": "fill"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "endAngle": { "alias": "endAngle"; "required": false; }; "innerRadius": { "alias": "innerRadius"; "required": false; }; "outerRadius": { "alias": "outerRadius"; "required": false; }; "cornerRadius": { "alias": "cornerRadius"; "required": false; }; "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; "data": { "alias": "data"; "required": false; }; "explodeSlices": { "alias": "explodeSlices"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "pointerEvents": { "alias": "pointerEvents"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; "dblclick": "dblclick"; }, never, never, false, never>;
44}