UNPKG

1.44 kBTypeScriptView Raw
1import { EventEmitter, ElementRef, OnChanges } from '@angular/core';
2import { AreaChartSeries } from '../models/chart-data.model';
3import { BarOrientation } from './types/bar-orientation.enum';
4import { Gradient } from './types/gradient.interface';
5import * as i0 from "@angular/core";
6export declare class AreaComponent implements OnChanges {
7 data: AreaChartSeries;
8 path: string;
9 startingPath: string;
10 fill: string;
11 opacity: number;
12 startOpacity: number;
13 endOpacity: number;
14 gradient: boolean;
15 stops: Gradient[];
16 animations: boolean;
17 select: EventEmitter<any>;
18 element: HTMLElement;
19 gradientId: string;
20 gradientFill: string;
21 areaPath: string;
22 animationsLoaded: boolean;
23 gradientStops: Gradient[];
24 hasGradient: boolean;
25 barOrientation: typeof BarOrientation;
26 constructor(element: ElementRef);
27 ngOnChanges(): void;
28 update(): void;
29 loadAnimation(): void;
30 updatePathEl(): void;
31 getGradient(): Gradient[];
32 static ɵfac: i0.ɵɵFactoryDeclaration<AreaComponent, never>;
33 static ɵcmp: i0.ɵɵComponentDeclaration<AreaComponent, "g[ngx-charts-area]", never, { "data": "data"; "path": "path"; "startingPath": "startingPath"; "fill": "fill"; "opacity": "opacity"; "startOpacity": "startOpacity"; "endOpacity": "endOpacity"; "gradient": "gradient"; "stops": "stops"; "animations": "animations"; }, { "select": "select"; }, never, never>;
34}