UNPKG

898 BTypeScriptView Raw
1import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2import { ColorHelper } from '../common/color.helper';
3import { Gradient, ScaleType } from '../common/types';
4import { AreaChartSeries } from '../models/chart-data.model';
5export declare class AreaSeriesComponent implements OnChanges {
6 data: AreaChartSeries;
7 xScale: any;
8 yScale: any;
9 baseValue: any;
10 colors: ColorHelper;
11 scaleType: ScaleType;
12 stacked: boolean;
13 normalized: boolean;
14 gradient: boolean;
15 curve: any;
16 activeEntries: any[];
17 animations: boolean;
18 select: EventEmitter<any>;
19 opacity: number;
20 path: string;
21 startingPath: string;
22 hasGradient: boolean;
23 gradientStops: Gradient[];
24 ngOnChanges(changes: SimpleChanges): void;
25 update(): void;
26 updateGradient(): void;
27 isActive(entry: any): boolean;
28 isInactive(entry: any): boolean;
29}