UNPKG

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