UNPKG

4.12 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';
8import * as i0 from "@angular/core";
9export declare class AreaChartStackedComponent 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: boolean;
20 gradient: boolean;
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 xScaleMin: any;
37 xScaleMax: any;
38 yScaleMin: number;
39 yScaleMax: number;
40 activate: EventEmitter<any>;
41 deactivate: EventEmitter<any>;
42 tooltipTemplate: TemplateRef<any>;
43 seriesTooltipTemplate: TemplateRef<any>;
44 dims: ViewDimensions;
45 scaleType: ScaleType;
46 xDomain: any[];
47 xSet: any[];
48 yDomain: [number, number];
49 seriesDomain: any;
50 xScale: any;
51 yScale: any;
52 transform: string;
53 clipPathId: string;
54 clipPath: string;
55 colors: ColorHelper;
56 margin: number[];
57 hoveredVertical: any;
58 xAxisHeight: number;
59 yAxisWidth: number;
60 filteredDomain: any;
61 legendOptions: any;
62 timelineWidth: number;
63 timelineHeight: number;
64 timelineXScale: any;
65 timelineYScale: any;
66 timelineXDomain: any;
67 timelineTransform: any;
68 timelinePadding: number;
69 seriesType: typeof SeriesType;
70 update(): void;
71 updateTimeline(): void;
72 getXDomain(): any[];
73 getYDomain(): [number, number];
74 getSeriesDomain(): string[];
75 getXScale(domain: any, width: number): any;
76 getYScale(domain: any, height: number): any;
77 updateDomain(domain: any): void;
78 updateHoveredVertical(item: any): void;
79 hideCircles(): void;
80 onClick(data: any, series?: any): void;
81 trackBy(index: any, item: any): string;
82 setColors(): void;
83 getLegendOptions(): LegendOptions;
84 updateYAxisWidth({ width }: {
85 width: number;
86 }): void;
87 updateXAxisHeight({ height }: {
88 height: number;
89 }): void;
90 onActivate(item: any): void;
91 onDeactivate(item: any): void;
92 deactivateAll(): void;
93 static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartStackedComponent, never>;
94 static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartStackedComponent, "ngx-charts-area-chart-stacked", never, { "legend": "legend"; "legendTitle": "legendTitle"; "legendPosition": "legendPosition"; "xAxis": "xAxis"; "yAxis": "yAxis"; "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"; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate", "seriesTooltipTemplate"], never>;
95}