1 | import { EventEmitter, TemplateRef, OnInit } from '@angular/core';
|
2 | import { ColorHelper } from '../common/color.helper';
|
3 | import { BaseChartComponent } from '../common/base-chart.component';
|
4 | import { LegendOptions, LegendPosition } from '../common/types/legend.model';
|
5 | import { ScaleType } from '../common/types/scale-type.enum';
|
6 | import { ViewDimensions } from '../common/types/view-dimension.interface';
|
7 | import * as i0 from "@angular/core";
|
8 | export declare class LineChartComponent extends BaseChartComponent implements OnInit {
|
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 | autoScale: boolean;
|
19 | timeline: boolean;
|
20 | gradient: boolean;
|
21 | showGridLines: boolean;
|
22 | curve: any;
|
23 | activeEntries: any[];
|
24 | schemeType: ScaleType;
|
25 | rangeFillOpacity: number;
|
26 | trimXAxisTicks: boolean;
|
27 | trimYAxisTicks: boolean;
|
28 | rotateXAxisTicks: boolean;
|
29 | maxXAxisTickLength: number;
|
30 | maxYAxisTickLength: number;
|
31 | xAxisTickFormatting: any;
|
32 | yAxisTickFormatting: any;
|
33 | xAxisTicks: any[];
|
34 | yAxisTicks: any[];
|
35 | roundDomains: boolean;
|
36 | tooltipDisabled: boolean;
|
37 | showRefLines: boolean;
|
38 | referenceLines: any;
|
39 | showRefLabels: boolean;
|
40 | xScaleMin: number;
|
41 | xScaleMax: number;
|
42 | yScaleMin: number;
|
43 | yScaleMax: number;
|
44 | wrapTicks: boolean;
|
45 | activate: EventEmitter<any>;
|
46 | deactivate: EventEmitter<any>;
|
47 | tooltipTemplate: TemplateRef<any>;
|
48 | seriesTooltipTemplate: TemplateRef<any>;
|
49 | dims: ViewDimensions;
|
50 | xSet: any;
|
51 | xDomain: any;
|
52 | yDomain: [number, number];
|
53 | seriesDomain: any;
|
54 | yScale: any;
|
55 | xScale: any;
|
56 | colors: ColorHelper;
|
57 | scaleType: ScaleType;
|
58 | transform: string;
|
59 | clipPath: string;
|
60 | clipPathId: string;
|
61 | areaPath: any;
|
62 | margin: number[];
|
63 | hoveredVertical: any;
|
64 | xAxisHeight: number;
|
65 | yAxisWidth: number;
|
66 | filteredDomain: any;
|
67 | legendOptions: any;
|
68 | hasRange: boolean;
|
69 | timelineWidth: any;
|
70 | timelineHeight: number;
|
71 | timelineXScale: any;
|
72 | timelineYScale: any;
|
73 | timelineXDomain: any;
|
74 | timelineTransform: any;
|
75 | timelinePadding: number;
|
76 | isSSR: boolean;
|
77 | ngOnInit(): void;
|
78 | update(): void;
|
79 | updateTimeline(): void;
|
80 | getXDomain(): any[];
|
81 | getYDomain(): [number, number];
|
82 | getSeriesDomain(): string[];
|
83 | getXScale(domain: any, width: number): any;
|
84 | getYScale(domain: any, height: number): any;
|
85 | updateDomain(domain: any): void;
|
86 | updateHoveredVertical(item: any): void;
|
87 | hideCircles(): void;
|
88 | onClick(data: any): void;
|
89 | trackBy(index: number, item: any): string;
|
90 | setColors(): void;
|
91 | getLegendOptions(): LegendOptions;
|
92 | updateYAxisWidth({ width }: {
|
93 | width: number;
|
94 | }): void;
|
95 | updateXAxisHeight({ height }: {
|
96 | height: number;
|
97 | }): void;
|
98 | onActivate(item: any): void;
|
99 | onDeactivate(item: any): void;
|
100 | deactivateAll(): void;
|
101 | static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
102 | static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "ngx-charts-line-chart", 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; }; "autoScale": { "alias": "autoScale"; "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; }; "rangeFillOpacity": { "alias": "rangeFillOpacity"; "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; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "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>;
|
103 | }
|