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": "legend"; "legendTitle": "legendTitle"; "legendPosition": "legendPosition"; "xAxis": "xAxis"; "yAxis": "yAxis"; "baseValue": "baseValue"; "autoScale": "autoScale"; "showXAxisLabel": "showXAxisLabel"; "showYAxisLabel": "showYAxisLabel"; "xAxisLabel": "xAxisLabel"; "yAxisLabel": "yAxisLabel"; "timeline": "timeline"; "gradient": "gradient"; "showGridLines": "showGridLines"; "curve": "curve"; "activeEntries": "activeEntries"; "schemeType": "schemeType"; "trimXAxisTicks": "trimXAxisTicks"; "trimYAxisTicks": "trimYAxisTicks"; "rotateXAxisTicks": "rotateXAxisTicks"; "maxXAxisTickLength": "maxXAxisTickLength"; "maxYAxisTickLength": "maxYAxisTickLength"; "xAxisTickFormatting": "xAxisTickFormatting"; "yAxisTickFormatting": "yAxisTickFormatting"; "xAxisTicks": "xAxisTicks"; "yAxisTicks": "yAxisTicks"; "roundDomains": "roundDomains"; "tooltipDisabled": "tooltipDisabled"; "xScaleMin": "xScaleMin"; "xScaleMax": "xScaleMax"; "yScaleMin": "yScaleMin"; "yScaleMax": "yScaleMax"; "wrapTicks": "wrapTicks"; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate", "seriesTooltipTemplate"], never>;
|
100 | }
|