UNPKG

2.81 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef, TrackByFunction } from '@angular/core';
2import { ColorHelper } from '../common/color.helper';
3import { BaseChartComponent } from '../common/base-chart.component';
4import { Series } from '../models/chart-data.model';
5import { SeriesType } from '../common/circle-series.component';
6import { LegendOptions, LegendPosition } from '../common/types/legend.model';
7import { ScaleType } from '../common/types/scale-type.enum';
8import { ViewDimensions } from '../common/types/view-dimension.interface';
9export declare class AreaChartNormalizedComponent extends BaseChartComponent {
10 legend: boolean;
11 legendTitle: string;
12 legendPosition: LegendPosition;
13 xAxis: boolean;
14 yAxis: boolean;
15 showXAxisLabel: boolean;
16 showYAxisLabel: boolean;
17 xAxisLabel: string;
18 yAxisLabel: string;
19 timeline: any;
20 gradient: any;
21 showGridLines: boolean;
22 curve: any;
23 activeEntries: any[];
24 schemeType: ScaleType;
25 trimXAxisTicks: boolean;
26 trimYAxisTicks: boolean;
27 rotateXAxisTicks: boolean;
28 maxXAxisTickLength: number;
29 maxYAxisTickLength: number;
30 xAxisTickFormatting: any;
31 yAxisTickFormatting: any;
32 xAxisTicks: any[];
33 yAxisTicks: any[];
34 roundDomains: boolean;
35 tooltipDisabled: boolean;
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 tooltipAreas: any[];
54 hoveredVertical: any;
55 xAxisHeight: number;
56 yAxisWidth: number;
57 filteredDomain: any;
58 legendOptions: LegendOptions;
59 seriesType: typeof SeriesType;
60 timelineWidth: any;
61 timelineHeight: number;
62 timelineXScale: any;
63 timelineYScale: any;
64 timelineXDomain: any;
65 timelineTransform: any;
66 timelinePadding: number;
67 update(): void;
68 updateTimeline(): void;
69 getXDomain(): any[];
70 getSeriesDomain(): string[];
71 getXScale(domain: any, width: number): any;
72 getYScale(domain: any, height: number): any;
73 updateDomain(domain: any): void;
74 updateHoveredVertical(item: any): void;
75 hideCircles(): void;
76 onClick(data: any, series?: any): void;
77 trackBy: TrackByFunction<Series>;
78 setColors(): void;
79 getLegendOptions(): LegendOptions;
80 updateYAxisWidth({ width }: {
81 width: number;
82 }): void;
83 updateXAxisHeight({ height }: {
84 height: number;
85 }): void;
86 onActivate(item: any): void;
87 onDeactivate(item: any): void;
88 deactivateAll(): void;
89}