UNPKG

2.5 kBTypeScriptView Raw
1import { OnChanges, SimpleChanges, TemplateRef, EventEmitter } from '@angular/core';
2import { Series, DataItem } from '../models/chart-data.model';
3import { PlacementTypes } from '../common/tooltip/position';
4import { StyleTypes } from '../common/tooltip/style.type';
5import { BarOrientation } from '../common/types/bar-orientation.enum';
6import * as i0 from "@angular/core";
7interface PolarChartCircle {
8 color: string;
9 cx: number;
10 cy: number;
11 data: Series;
12 label: string;
13 value: number;
14}
15export declare class PolarSeriesComponent implements OnChanges {
16 name: any;
17 data: any;
18 xScale: any;
19 yScale: any;
20 colors: any;
21 scaleType: any;
22 curve: any;
23 activeEntries: any[];
24 rangeFillOpacity: number;
25 tooltipDisabled: boolean;
26 tooltipText: (o: any) => string;
27 gradient: boolean;
28 tooltipTemplate: TemplateRef<any>;
29 animations: boolean;
30 select: EventEmitter<any>;
31 activate: EventEmitter<any>;
32 deactivate: EventEmitter<any>;
33 path: string;
34 circles: PolarChartCircle[];
35 circleRadius: number;
36 areaPath: string;
37 gradientId: string;
38 gradientUrl: string;
39 hasGradient: boolean;
40 gradientStops: any[];
41 areaGradientStops: any[];
42 seriesColor: string;
43 active: boolean;
44 inactive: boolean;
45 barOrientation: typeof BarOrientation;
46 placementTypes: typeof PlacementTypes;
47 styleTypes: typeof StyleTypes;
48 ngOnChanges(changes: SimpleChanges): void;
49 update(): void;
50 getAngle(d: DataItem): any;
51 getRadius(d: DataItem): any;
52 getLineGenerator(): any;
53 sortData(data: DataItem): any[];
54 isActive(entry: DataItem): boolean;
55 isInactive(entry: DataItem): boolean;
56 defaultTooltipText({ label, value }: {
57 label: string;
58 value: number;
59 }): string;
60 updateGradients(): void;
61 static ɵfac: i0.ɵɵFactoryDeclaration<PolarSeriesComponent, never>;
62 static ɵcmp: i0.ɵɵComponentDeclaration<PolarSeriesComponent, "g[ngx-charts-polar-series]", never, { "name": "name"; "data": "data"; "xScale": "xScale"; "yScale": "yScale"; "colors": "colors"; "scaleType": "scaleType"; "curve": "curve"; "activeEntries": "activeEntries"; "rangeFillOpacity": "rangeFillOpacity"; "tooltipDisabled": "tooltipDisabled"; "tooltipText": "tooltipText"; "gradient": "gradient"; "tooltipTemplate": "tooltipTemplate"; "animations": "animations"; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never>;
63}
64export {};