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