UNPKG

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