UNPKG

4.95 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef, TrackByFunction } from '@angular/core';
2import { ColorHelper } from '../common/color.helper';
3import { BaseChartComponent } from '../common/base-chart.component';
4import { Series } from '../models/chart-data.model';
5import { SeriesType } from '../common/circle-series.component';
6import { LegendOptions, LegendPosition } from '../common/types/legend.model';
7import { ScaleType } from '../common/types/scale-type.enum';
8import { ViewDimensions } from '../common/types/view-dimension.interface';
9import * as i0 from "@angular/core";
10export declare class AreaChartNormalizedComponent extends BaseChartComponent {
11 legend: boolean;
12 legendTitle: string;
13 legendPosition: LegendPosition;
14 xAxis: boolean;
15 yAxis: boolean;
16 showXAxisLabel: boolean;
17 showYAxisLabel: boolean;
18 xAxisLabel: string;
19 yAxisLabel: string;
20 timeline: any;
21 gradient: any;
22 showGridLines: boolean;
23 curve: any;
24 activeEntries: any[];
25 schemeType: ScaleType;
26 trimXAxisTicks: boolean;
27 trimYAxisTicks: boolean;
28 rotateXAxisTicks: boolean;
29 maxXAxisTickLength: number;
30 maxYAxisTickLength: number;
31 xAxisTickFormatting: any;
32 yAxisTickFormatting: any;
33 xAxisTicks: any[];
34 yAxisTicks: any[];
35 roundDomains: boolean;
36 tooltipDisabled: boolean;
37 wrapTicks: boolean;
38 activate: EventEmitter<any>;
39 deactivate: EventEmitter<any>;
40 tooltipTemplate: TemplateRef<any>;
41 seriesTooltipTemplate: TemplateRef<any>;
42 dims: ViewDimensions;
43 scaleType: ScaleType;
44 xDomain: any[];
45 xSet: any[];
46 yDomain: [number, number];
47 seriesDomain: any;
48 xScale: any;
49 yScale: any;
50 transform: string;
51 clipPathId: string;
52 clipPath: string;
53 colors: ColorHelper;
54 margin: number[];
55 tooltipAreas: any[];
56 hoveredVertical: any;
57 xAxisHeight: number;
58 yAxisWidth: number;
59 filteredDomain: any;
60 legendOptions: LegendOptions;
61 seriesType: typeof SeriesType;
62 timelineWidth: any;
63 timelineHeight: number;
64 timelineXScale: any;
65 timelineYScale: any;
66 timelineXDomain: any;
67 timelineTransform: any;
68 timelinePadding: number;
69 update(): void;
70 updateTimeline(): void;
71 getXDomain(): any[];
72 getSeriesDomain(): string[];
73 getXScale(domain: any, width: number): any;
74 getYScale(domain: any, height: number): any;
75 updateDomain(domain: any): void;
76 updateHoveredVertical(item: any): void;
77 hideCircles(): void;
78 onClick(data: any, series?: any): void;
79 trackBy: TrackByFunction<Series>;
80 setColors(): void;
81 getLegendOptions(): LegendOptions;
82 updateYAxisWidth({ width }: {
83 width: number;
84 }): void;
85 updateXAxisHeight({ height }: {
86 height: number;
87 }): void;
88 onActivate(item: any): void;
89 onDeactivate(item: any): void;
90 deactivateAll(): void;
91 static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartNormalizedComponent, never>;
92 static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartNormalizedComponent, "ngx-charts-area-chart-normalized", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "timeline": { "alias": "timeline"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate", "seriesTooltipTemplate"], never, false, never>;
93}