UNPKG

5.2 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 wrapTicks: boolean;
41 activate: EventEmitter<any>;
42 deactivate: EventEmitter<any>;
43 tooltipTemplate: TemplateRef<any>;
44 seriesTooltipTemplate: TemplateRef<any>;
45 dims: ViewDimensions;
46 scaleType: ScaleType;
47 xDomain: any[];
48 xSet: any[];
49 yDomain: [number, number];
50 seriesDomain: any;
51 xScale: any;
52 yScale: any;
53 transform: string;
54 clipPathId: string;
55 clipPath: string;
56 colors: ColorHelper;
57 margin: number[];
58 hoveredVertical: any;
59 xAxisHeight: number;
60 yAxisWidth: number;
61 filteredDomain: any;
62 legendOptions: any;
63 timelineWidth: number;
64 timelineHeight: number;
65 timelineXScale: any;
66 timelineYScale: any;
67 timelineXDomain: any;
68 timelineTransform: any;
69 timelinePadding: number;
70 seriesType: typeof SeriesType;
71 update(): void;
72 updateTimeline(): void;
73 getXDomain(): any[];
74 getYDomain(): [number, number];
75 getSeriesDomain(): string[];
76 getXScale(domain: any, width: number): any;
77 getYScale(domain: any, height: number): any;
78 updateDomain(domain: any): void;
79 updateHoveredVertical(item: any): void;
80 hideCircles(): void;
81 onClick(data: any, series?: any): void;
82 trackBy(index: any, item: any): string;
83 setColors(): void;
84 getLegendOptions(): LegendOptions;
85 updateYAxisWidth({ width }: {
86 width: number;
87 }): void;
88 updateXAxisHeight({ height }: {
89 height: number;
90 }): void;
91 onActivate(item: any): void;
92 onDeactivate(item: any): void;
93 deactivateAll(): void;
94 static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartStackedComponent, never>;
95 static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartStackedComponent, "ngx-charts-area-chart-stacked", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "timeline": { "alias": "timeline"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "xScaleMin": { "alias": "xScaleMin"; "required": false; }; "xScaleMax": { "alias": "xScaleMax"; "required": false; }; "yScaleMin": { "alias": "yScaleMin"; "required": false; }; "yScaleMax": { "alias": "yScaleMax"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate", "seriesTooltipTemplate"], never, false, never>;
96}