UNPKG

@swimlane/ngx-charts

Version:

Declarative Charting Framework for Angular

35 lines (34 loc) 1.78 kB
import { EventEmitter, ElementRef, OnChanges } from '@angular/core'; import { AreaChartSeries } from '../models/chart-data.model'; import { BarOrientation } from './types/bar-orientation.enum'; import { Gradient } from './types/gradient.interface'; import * as i0 from "@angular/core"; export declare class AreaComponent implements OnChanges { data: AreaChartSeries; path: string; startingPath: string; fill: string; opacity: number; startOpacity: number; endOpacity: number; gradient: boolean; stops: Gradient[]; animations: boolean; select: EventEmitter<any>; element: HTMLElement; gradientId: string; gradientFill: string; areaPath: string; animationsLoaded: boolean; gradientStops: Gradient[]; hasGradient: boolean; barOrientation: typeof BarOrientation; constructor(element: ElementRef); ngOnChanges(): void; update(): void; loadAnimation(): void; updatePathEl(): void; getGradient(): Gradient[]; static ɵfac: i0.ɵɵFactoryDeclaration<AreaComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AreaComponent, "g[ngx-charts-area]", never, { "data": { "alias": "data"; "required": false; }; "path": { "alias": "path"; "required": false; }; "startingPath": { "alias": "startingPath"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "startOpacity": { "alias": "startOpacity"; "required": false; }; "endOpacity": { "alias": "endOpacity"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "stops": { "alias": "stops"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>; }