UNPKG

1.2 kBTypeScriptView Raw
1import { OnChanges, SimpleChanges } from '@angular/core';
2import { ColorHelper } from '../common/color.helper';
3import { Series } from '../models/chart-data.model';
4import { BarOrientation } from '../common/types/bar-orientation.enum';
5import { ScaleType } from '../common/types/scale-type.enum';
6import { Gradient } from '../common/types/gradient.interface';
7export declare class LineSeriesComponent implements OnChanges {
8 data: Series;
9 xScale: any;
10 yScale: any;
11 colors: ColorHelper;
12 scaleType: ScaleType;
13 curve: any;
14 activeEntries: any[];
15 rangeFillOpacity: number;
16 hasRange: boolean;
17 animations: boolean;
18 path: string;
19 outerPath: string;
20 areaPath: string;
21 gradientId: string;
22 gradientUrl: string;
23 hasGradient: boolean;
24 gradientStops: Gradient[];
25 areaGradientStops: Gradient[];
26 stroke: string;
27 barOrientation: typeof BarOrientation;
28 ngOnChanges(changes: SimpleChanges): void;
29 update(): void;
30 getLineGenerator(): any;
31 getRangeGenerator(): any;
32 getAreaGenerator(): any;
33 sortData(data: any): any;
34 updateGradients(): void;
35 isActive(entry: any): boolean;
36 isInactive(entry: any): boolean;
37}