UNPKG

1.92 kBTypeScriptView 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';
6import * as i0 from "@angular/core";
7export declare class AreaSeriesComponent implements OnChanges {
8 data: AreaChartSeries;
9 xScale: any;
10 yScale: any;
11 baseValue: any;
12 colors: ColorHelper;
13 scaleType: ScaleType;
14 stacked: boolean;
15 normalized: boolean;
16 gradient: boolean;
17 curve: any;
18 activeEntries: any[];
19 animations: boolean;
20 select: EventEmitter<any>;
21 opacity: number;
22 path: string;
23 startingPath: string;
24 hasGradient: boolean;
25 gradientStops: Gradient[];
26 ngOnChanges(changes: SimpleChanges): void;
27 update(): void;
28 updateGradient(): void;
29 isActive(entry: any): boolean;
30 isInactive(entry: any): boolean;
31 static ɵfac: i0.ɵɵFactoryDeclaration<AreaSeriesComponent, never>;
32 static ɵcmp: i0.ɵɵComponentDeclaration<AreaSeriesComponent, "g[ngx-charts-area-series]", never, { "data": { "alias": "data"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "baseValue": { "alias": "baseValue"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "normalized": { "alias": "normalized"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
33}