2.03 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';
7import * as i0 from "@angular/core";
8export declare class LineSeriesComponent implements OnChanges {
9 data: Series;
10 xScale: any;
11 yScale: any;
12 colors: ColorHelper;
13 scaleType: ScaleType;
14 curve: any;
15 activeEntries: any[];
16 rangeFillOpacity: number;
17 hasRange: boolean;
18 animations: boolean;
19 path: string;
20 outerPath: string;
21 areaPath: string;
22 gradientId: string;
23 gradientUrl: string;
24 hasGradient: boolean;
25 gradientStops: Gradient[];
26 areaGradientStops: Gradient[];
27 stroke: string;
28 barOrientation: typeof BarOrientation;
29 ngOnChanges(changes: SimpleChanges): void;
30 update(): void;
31 getLineGenerator(): any;
32 getRangeGenerator(): any;
33 getAreaGenerator(): any;
34 sortData(data: any): any;
35 updateGradients(): void;
36 isActive(entry: any): boolean;
37 isInactive(entry: any): boolean;
38 static ɵfac: i0.ɵɵFactoryDeclaration<LineSeriesComponent, never>;
39 static ɵcmp: i0.ɵɵComponentDeclaration<LineSeriesComponent, "g[ngx-charts-line-series]", never, { "data": { "alias": "data"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "rangeFillOpacity": { "alias": "rangeFillOpacity"; "required": false; }; "hasRange": { "alias": "hasRange"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, {}, never, never, false, never>;
40}