UNPKG

1.82 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import { ColorHelper } from '../common/color.helper';
3import { DataItem } from '../models/chart-data.model';
4import { PlacementTypes } from '../common/tooltip/position';
5import { StyleTypes } from '../common/tooltip/style.type';
6import * as i0 from "@angular/core";
7export interface ArcItem {
8 data: DataItem;
9 endAngle: number;
10 innerRadius: number;
11 outerRadius: number;
12}
13export declare class GaugeArcComponent {
14 backgroundArc: ArcItem;
15 valueArc: ArcItem;
16 cornerRadius: number;
17 colors: ColorHelper;
18 isActive: boolean;
19 tooltipDisabled: boolean;
20 valueFormatting: (value: any) => string;
21 tooltipTemplate: TemplateRef<any>;
22 animations: boolean;
23 select: EventEmitter<any>;
24 activate: EventEmitter<any>;
25 deactivate: EventEmitter<any>;
26 placementTypes: typeof PlacementTypes;
27 styleTypes: typeof StyleTypes;
28 tooltipText(arc: ArcItem): string;
29 static ɵfac: i0.ɵɵFactoryDeclaration<GaugeArcComponent, never>;
30 static ɵcmp: i0.ɵɵComponentDeclaration<GaugeArcComponent, "g[ngx-charts-gauge-arc]", never, { "backgroundArc": { "alias": "backgroundArc"; "required": false; }; "valueArc": { "alias": "valueArc"; "required": false; }; "cornerRadius": { "alias": "cornerRadius"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
31}