UNPKG

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