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 | export declare class AreaChartComponent extends BaseChartComponent {
|
10 | legend: boolean;
|
11 | legendTitle: string;
|
12 | legendPosition: LegendPosition;
|
13 | xAxis: boolean;
|
14 | yAxis: boolean;
|
15 | baseValue: any;
|
16 | autoScale: boolean;
|
17 | showXAxisLabel: boolean;
|
18 | showYAxisLabel: boolean;
|
19 | xAxisLabel: string;
|
20 | yAxisLabel: string;
|
21 | timeline: boolean;
|
22 | gradient: boolean;
|
23 | showGridLines: boolean;
|
24 | curve: CurveFactory;
|
25 | activeEntries: any[];
|
26 | schemeType: ScaleType;
|
27 | trimXAxisTicks: boolean;
|
28 | trimYAxisTicks: boolean;
|
29 | rotateXAxisTicks: boolean;
|
30 | maxXAxisTickLength: number;
|
31 | maxYAxisTickLength: number;
|
32 | xAxisTickFormatting: any;
|
33 | yAxisTickFormatting: any;
|
34 | xAxisTicks: any[];
|
35 | yAxisTicks: any[];
|
36 | roundDomains: boolean;
|
37 | tooltipDisabled: boolean;
|
38 | xScaleMin: any;
|
39 | xScaleMax: any;
|
40 | yScaleMin: number;
|
41 | yScaleMax: number;
|
42 | activate: EventEmitter<any>;
|
43 | deactivate: EventEmitter<any>;
|
44 | tooltipTemplate: TemplateRef<any>;
|
45 | seriesTooltipTemplate: TemplateRef<any>;
|
46 | dims: ViewDimensions;
|
47 | xSet: any;
|
48 | xDomain: any[];
|
49 | yDomain: [number, number];
|
50 | seriesDomain: string[];
|
51 | xScale: any;
|
52 | yScale: any;
|
53 | transform: string;
|
54 | colors: ColorHelper;
|
55 | clipPathId: string;
|
56 | clipPath: string;
|
57 | scaleType: ScaleType;
|
58 | series: Series;
|
59 | margin: number[];
|
60 | hoveredVertical: any;
|
61 | xAxisHeight: number;
|
62 | yAxisWidth: number;
|
63 | filteredDomain: any;
|
64 | legendOptions: LegendOptions;
|
65 | timelineWidth: number;
|
66 | timelineHeight: number;
|
67 | timelineXScale: any;
|
68 | timelineYScale: any;
|
69 | timelineXDomain: any[];
|
70 | timelineTransform: any;
|
71 | timelinePadding: number;
|
72 | update(): void;
|
73 | updateTimeline(): void;
|
74 | getXDomain(): any[];
|
75 | getYDomain(): [number, number];
|
76 | getSeriesDomain(): string[];
|
77 | getXScale(domain: any, width: number): number;
|
78 | getYScale(domain: any, height: number): number;
|
79 | getScaleType(values: any): ScaleType;
|
80 | updateDomain(domain: any): void;
|
81 | updateHoveredVertical(item: any): void;
|
82 | hideCircles(): void;
|
83 | onClick(data: any, series?: Series): void;
|
84 | trackBy: TrackByFunction<Series>;
|
85 | setColors(): void;
|
86 | getLegendOptions(): LegendOptions;
|
87 | updateYAxisWidth({ width }: {
|
88 | width: number;
|
89 | }): void;
|
90 | updateXAxisHeight({ height }: {
|
91 | height: number;
|
92 | }): void;
|
93 | onActivate(item: any): void;
|
94 | onDeactivate(item: any): void;
|
95 | deactivateAll(): void;
|
96 | }
|