@swimlane/ngx-charts 22.0.0 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/fesm2022/swimlane-ngx-charts.mjs +531 -370
- package/fesm2022/swimlane-ngx-charts.mjs.map +1 -1
- package/index.d.ts +3914 -3
- package/package.json +8 -8
- package/lib/area-chart/area-chart-normalized.component.d.ts +0 -93
- package/lib/area-chart/area-chart-stacked.component.d.ts +0 -96
- package/lib/area-chart/area-chart.component.d.ts +0 -100
- package/lib/area-chart/area-chart.module.d.ts +0 -11
- package/lib/area-chart/area-series.component.d.ts +0 -33
- package/lib/bar-chart/bar-chart.module.d.ts +0 -19
- package/lib/bar-chart/bar-horizontal-2d.component.d.ts +0 -87
- package/lib/bar-chart/bar-horizontal-normalized.component.d.ts +0 -76
- package/lib/bar-chart/bar-horizontal-stacked.component.d.ts +0 -82
- package/lib/bar-chart/bar-horizontal.component.d.ts +0 -76
- package/lib/bar-chart/bar-label.component.d.ts +0 -28
- package/lib/bar-chart/bar-vertical-2d.component.d.ts +0 -87
- package/lib/bar-chart/bar-vertical-normalized.component.d.ts +0 -76
- package/lib/bar-chart/bar-vertical-stacked.component.d.ts +0 -84
- package/lib/bar-chart/bar-vertical.component.d.ts +0 -83
- package/lib/bar-chart/bar.component.d.ts +0 -48
- package/lib/bar-chart/series-horizontal.component.d.ts +0 -58
- package/lib/bar-chart/series-vertical.component.d.ts +0 -59
- package/lib/bar-chart/types/bar-chart-type.enum.d.ts +0 -5
- package/lib/bar-chart/types/bar.model.d.ts +0 -17
- package/lib/bar-chart/types/d0-type.enum.d.ts +0 -4
- package/lib/box-chart/box-chart.component.d.ts +0 -78
- package/lib/box-chart/box-chart.module.d.ts +0 -10
- package/lib/box-chart/box-series.component.d.ts +0 -42
- package/lib/box-chart/box.component.d.ts +0 -78
- package/lib/bubble-chart/bubble-chart.component.d.ts +0 -92
- package/lib/bubble-chart/bubble-chart.module.d.ts +0 -9
- package/lib/bubble-chart/bubble-chart.utils.d.ts +0 -4
- package/lib/bubble-chart/bubble-series.component.d.ts +0 -45
- package/lib/common/area.component.d.ts +0 -34
- package/lib/common/axes/axes.module.d.ts +0 -12
- package/lib/common/axes/axis-label.component.d.ts +0 -23
- package/lib/common/axes/ticks.helper.d.ts +0 -2
- package/lib/common/axes/x-axis-ticks.component.d.ts +0 -53
- package/lib/common/axes/x-axis.component.d.ts +0 -40
- package/lib/common/axes/y-axis-ticks.component.d.ts +0 -61
- package/lib/common/axes/y-axis.component.d.ts +0 -42
- package/lib/common/base-chart.component.d.ts +0 -45
- package/lib/common/chart-common.module.d.ts +0 -26
- package/lib/common/charts/chart.component.d.ts +0 -28
- package/lib/common/circle-series.component.d.ts +0 -80
- package/lib/common/circle.component.d.ts +0 -22
- package/lib/common/color.helper.d.ts +0 -15
- package/lib/common/constants/font-widths.d.ts +0 -88
- package/lib/common/count/count.directive.d.ts +0 -38
- package/lib/common/count/count.helper.d.ts +0 -10
- package/lib/common/domain.helper.d.ts +0 -18
- package/lib/common/grid-layout.helper.d.ts +0 -19
- package/lib/common/grid-panel-series.component.d.ts +0 -30
- package/lib/common/grid-panel.component.d.ts +0 -9
- package/lib/common/label.helper.d.ts +0 -12
- package/lib/common/legend/advanced-legend.component.d.ts +0 -38
- package/lib/common/legend/legend-entry.component.d.ts +0 -21
- package/lib/common/legend/legend.component.d.ts +0 -40
- package/lib/common/legend/scale-legend.component.d.ts +0 -19
- package/lib/common/shape.helper.d.ts +0 -7
- package/lib/common/svg-linear-gradient.component.d.ts +0 -16
- package/lib/common/svg-radial-gradient.component.d.ts +0 -19
- package/lib/common/tick-format.helper.d.ts +0 -1
- package/lib/common/timeline/timeline.component.d.ts +0 -36
- package/lib/common/tooltip/injection-registery.service.d.ts +0 -22
- package/lib/common/tooltip/injection.service.d.ts +0 -74
- package/lib/common/tooltip/position/index.d.ts +0 -2
- package/lib/common/tooltip/position/placement-type.enum.d.ts +0 -7
- package/lib/common/tooltip/position/position.d.ts +0 -56
- package/lib/common/tooltip/show.type.d.ts +0 -5
- package/lib/common/tooltip/style.type.d.ts +0 -4
- package/lib/common/tooltip/tooltip.component.d.ts +0 -30
- package/lib/common/tooltip/tooltip.directive.d.ts +0 -50
- package/lib/common/tooltip/tooltip.module.d.ts +0 -9
- package/lib/common/tooltip/tooltip.service.d.ts +0 -10
- package/lib/common/tooltip-area.component.d.ts +0 -47
- package/lib/common/trim-label.helper.d.ts +0 -1
- package/lib/common/types/bar-orientation.enum.d.ts +0 -4
- package/lib/common/types/gradient.interface.d.ts +0 -6
- package/lib/common/types/legend.model.d.ts +0 -16
- package/lib/common/types/orientation.enum.d.ts +0 -6
- package/lib/common/types/scale-type.enum.d.ts +0 -6
- package/lib/common/types/text-anchor.enum.d.ts +0 -5
- package/lib/common/types/view-dimension.interface.d.ts +0 -6
- package/lib/common/view-dimensions.helper.d.ts +0 -18
- package/lib/events.d.ts +0 -5
- package/lib/gauge/gauge-arc.component.d.ts +0 -31
- package/lib/gauge/gauge-axis.component.d.ts +0 -37
- package/lib/gauge/gauge.component.d.ts +0 -70
- package/lib/gauge/gauge.module.d.ts +0 -14
- package/lib/gauge/linear-gauge.component.d.ts +0 -49
- package/lib/gauge/percent-gauge/percent-gauge.component.d.ts +0 -47
- package/lib/heat-map/heat-map-cell-series.component.d.ts +0 -48
- package/lib/heat-map/heat-map-cell.component.d.ts +0 -34
- package/lib/heat-map/heat-map.component.d.ts +0 -94
- package/lib/heat-map/heat-map.module.d.ts +0 -10
- package/lib/line-chart/line-chart.component.d.ts +0 -104
- package/lib/line-chart/line-chart.module.d.ts +0 -10
- package/lib/line-chart/line-series.component.d.ts +0 -40
- package/lib/line-chart/line.component.d.ts +0 -21
- package/lib/models/chart-data.model.d.ts +0 -93
- package/lib/models/coordinates.model.d.ts +0 -8
- package/lib/ngx-charts.module.d.ts +0 -20
- package/lib/number-card/card-series.component.d.ts +0 -36
- package/lib/number-card/card.component.d.ts +0 -52
- package/lib/number-card/number-card.component.d.ts +0 -29
- package/lib/number-card/number-card.module.d.ts +0 -10
- package/lib/pie-chart/advanced-pie-chart.component.d.ts +0 -36
- package/lib/pie-chart/pie-arc.component.d.ts +0 -44
- package/lib/pie-chart/pie-chart.component.d.ts +0 -48
- package/lib/pie-chart/pie-chart.module.d.ts +0 -14
- package/lib/pie-chart/pie-grid-series.component.d.ts +0 -35
- package/lib/pie-chart/pie-grid.component.d.ts +0 -42
- package/lib/pie-chart/pie-label.component.d.ts +0 -39
- package/lib/pie-chart/pie-series.component.d.ts +0 -50
- package/lib/polar-chart/polar-chart.component.d.ts +0 -105
- package/lib/polar-chart/polar-chart.module.d.ts +0 -11
- package/lib/polar-chart/polar-series.component.d.ts +0 -64
- package/lib/polyfills.d.ts +0 -1
- package/lib/sankey/sankey.component.d.ts +0 -59
- package/lib/sankey/sankey.module.d.ts +0 -8
- package/lib/tree-map/tree-map-cell-series.component.d.ts +0 -43
- package/lib/tree-map/tree-map-cell.component.d.ts +0 -39
- package/lib/tree-map/tree-map.component.d.ts +0 -29
- package/lib/tree-map/tree-map.module.d.ts +0 -10
- package/lib/utils/calculate-width.d.ts +0 -1
- package/lib/utils/color-sets.d.ts +0 -8
- package/lib/utils/color-utils.d.ts +0 -25
- package/lib/utils/id.d.ts +0 -11
- package/lib/utils/sort.d.ts +0 -3
- package/lib/utils/throttle.d.ts +0 -18
- package/lib/utils/types.d.ts +0 -2
- package/lib/utils/visibility-observer.d.ts +0 -18
- package/public-api.d.ts +0 -118
package/index.d.ts
CHANGED
|
@@ -1,5 +1,3916 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnChanges, EventEmitter, ElementRef, NgZone, AfterViewInit, OnDestroy, OnInit, ChangeDetectorRef, SimpleChanges, TemplateRef, Renderer2, ViewContainerRef, ApplicationRef, Injector, ComponentRef, Type, TrackByFunction } from '@angular/core';
|
|
3
|
+
import * as i18 from '@angular/common';
|
|
4
|
+
import { CurveFactory, DefaultArcObject } from 'd3-shape';
|
|
5
|
+
import { ScaleBand, ScaleLinear, ScaleTime, ScalePoint } from 'd3-scale';
|
|
6
|
+
import { BaseType } from 'd3-selection';
|
|
7
|
+
|
|
8
|
+
interface IPoint {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
}
|
|
12
|
+
interface IVector2D {
|
|
13
|
+
v1: IPoint;
|
|
14
|
+
v2: IPoint;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type StringOrNumberOrDate = string | number | Date;
|
|
18
|
+
interface DataItem {
|
|
19
|
+
name: StringOrNumberOrDate;
|
|
20
|
+
value: number;
|
|
21
|
+
extra?: any;
|
|
22
|
+
min?: number;
|
|
23
|
+
max?: number;
|
|
24
|
+
label?: string;
|
|
25
|
+
}
|
|
26
|
+
interface SingleSeries extends Array<DataItem> {
|
|
27
|
+
}
|
|
28
|
+
interface Series {
|
|
29
|
+
name: StringOrNumberOrDate;
|
|
30
|
+
series: DataItem[];
|
|
31
|
+
}
|
|
32
|
+
interface MultiSeries extends Array<Series> {
|
|
33
|
+
}
|
|
34
|
+
interface AreaChartDataItem extends DataItem {
|
|
35
|
+
d0: number;
|
|
36
|
+
d1: number;
|
|
37
|
+
}
|
|
38
|
+
interface AreaChartSeries {
|
|
39
|
+
name: StringOrNumberOrDate;
|
|
40
|
+
series: AreaChartDataItem[];
|
|
41
|
+
}
|
|
42
|
+
interface PieGridData {
|
|
43
|
+
data: PieGridDataItem;
|
|
44
|
+
height: number;
|
|
45
|
+
width: number;
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
|
+
}
|
|
49
|
+
interface PieGridDataItem extends DataItem {
|
|
50
|
+
percent: number;
|
|
51
|
+
total: number;
|
|
52
|
+
value: number;
|
|
53
|
+
}
|
|
54
|
+
interface BubbleChartDataItem {
|
|
55
|
+
name: StringOrNumberOrDate;
|
|
56
|
+
x: StringOrNumberOrDate;
|
|
57
|
+
y: StringOrNumberOrDate;
|
|
58
|
+
r: number;
|
|
59
|
+
extra?: any;
|
|
60
|
+
}
|
|
61
|
+
interface BubbleChartSeries {
|
|
62
|
+
name: StringOrNumberOrDate;
|
|
63
|
+
series: BubbleChartDataItem[];
|
|
64
|
+
}
|
|
65
|
+
interface BubbleChartMultiSeries extends Array<BubbleChartSeries> {
|
|
66
|
+
}
|
|
67
|
+
interface TreeMapDataItem {
|
|
68
|
+
name: StringOrNumberOrDate;
|
|
69
|
+
size?: number;
|
|
70
|
+
children?: TreeMapDataItem[];
|
|
71
|
+
extra?: any;
|
|
72
|
+
}
|
|
73
|
+
interface TreeMapData extends Array<TreeMapDataItem> {
|
|
74
|
+
}
|
|
75
|
+
interface SankeyObject {
|
|
76
|
+
source: string;
|
|
77
|
+
target: string;
|
|
78
|
+
value: number;
|
|
79
|
+
}
|
|
80
|
+
interface SankeyData extends Array<SankeyObject> {
|
|
81
|
+
}
|
|
82
|
+
interface BoxChartSeries {
|
|
83
|
+
name: StringOrNumberOrDate;
|
|
84
|
+
series: DataItem[];
|
|
85
|
+
}
|
|
86
|
+
interface BoxChartMultiSeries extends Array<BoxChartSeries> {
|
|
87
|
+
}
|
|
88
|
+
interface IBoxModel {
|
|
89
|
+
value: number | Date;
|
|
90
|
+
label: StringOrNumberOrDate;
|
|
91
|
+
data: DataItem[];
|
|
92
|
+
formattedLabel: string;
|
|
93
|
+
height: number;
|
|
94
|
+
width: number;
|
|
95
|
+
x: number;
|
|
96
|
+
y: number;
|
|
97
|
+
roundEdges: boolean;
|
|
98
|
+
lineCoordinates: IVector2D[];
|
|
99
|
+
quartiles: number[];
|
|
100
|
+
tooltipText?: string;
|
|
101
|
+
ariaLabel?: string;
|
|
102
|
+
color?: string;
|
|
103
|
+
gradientStops?: Array<{
|
|
104
|
+
offset: number;
|
|
105
|
+
color: string;
|
|
106
|
+
opacity: number;
|
|
107
|
+
}>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
declare enum BarOrientation {
|
|
111
|
+
Vertical = "vertical",
|
|
112
|
+
Horizontal = "horizontal"
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
interface Gradient {
|
|
116
|
+
offset: number;
|
|
117
|
+
originalOffset?: number;
|
|
118
|
+
color: string;
|
|
119
|
+
opacity: number;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare class AreaComponent implements OnChanges {
|
|
123
|
+
data: AreaChartSeries;
|
|
124
|
+
path: string;
|
|
125
|
+
startingPath: string;
|
|
126
|
+
fill: string;
|
|
127
|
+
opacity: number;
|
|
128
|
+
startOpacity: number;
|
|
129
|
+
endOpacity: number;
|
|
130
|
+
gradient: boolean;
|
|
131
|
+
stops: Gradient[];
|
|
132
|
+
animations: boolean;
|
|
133
|
+
select: EventEmitter<any>;
|
|
134
|
+
element: HTMLElement;
|
|
135
|
+
gradientId: string;
|
|
136
|
+
gradientFill: string;
|
|
137
|
+
areaPath: string;
|
|
138
|
+
animationsLoaded: boolean;
|
|
139
|
+
gradientStops: Gradient[];
|
|
140
|
+
hasGradient: boolean;
|
|
141
|
+
barOrientation: typeof BarOrientation;
|
|
142
|
+
constructor(element: ElementRef);
|
|
143
|
+
ngOnChanges(): void;
|
|
144
|
+
update(): void;
|
|
145
|
+
loadAnimation(): void;
|
|
146
|
+
updatePathEl(): void;
|
|
147
|
+
getGradient(): Gradient[];
|
|
148
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AreaComponent, never>;
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AreaComponent, "g[ngx-charts-area]", never, { "data": { "alias": "data"; "required": false; }; "path": { "alias": "path"; "required": false; }; "startingPath": { "alias": "startingPath"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "startOpacity": { "alias": "startOpacity"; "required": false; }; "endOpacity": { "alias": "endOpacity"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "stops": { "alias": "stops"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
150
|
+
}
|
|
151
|
+
|
|
1
152
|
/**
|
|
2
|
-
*
|
|
153
|
+
* Visibility Observer
|
|
3
154
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
155
|
+
declare class VisibilityObserver {
|
|
156
|
+
private element;
|
|
157
|
+
private zone;
|
|
158
|
+
visible: EventEmitter<any>;
|
|
159
|
+
timeout: any;
|
|
160
|
+
isVisible: boolean;
|
|
161
|
+
constructor(element: ElementRef, zone: NgZone);
|
|
162
|
+
destroy(): void;
|
|
163
|
+
onVisibilityChange(): void;
|
|
164
|
+
runCheck(): void;
|
|
165
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityObserver, never>;
|
|
166
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityObserver, "visibility-observer", never, {}, { "visible": "visible"; }, never, never, false, never>;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
declare enum ScaleType {
|
|
170
|
+
Time = "time",
|
|
171
|
+
Linear = "linear",
|
|
172
|
+
Ordinal = "ordinal",
|
|
173
|
+
Quantile = "quantile"
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
interface Color {
|
|
177
|
+
name: string;
|
|
178
|
+
selectable: boolean;
|
|
179
|
+
group: ScaleType;
|
|
180
|
+
domain: string[];
|
|
181
|
+
}
|
|
182
|
+
declare const colorSets: Color[];
|
|
183
|
+
|
|
184
|
+
interface ViewDimensions {
|
|
185
|
+
width: number;
|
|
186
|
+
height: number;
|
|
187
|
+
xOffset?: number;
|
|
188
|
+
yOffset?: number;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
declare class BaseChartComponent implements OnChanges, AfterViewInit, OnDestroy, OnInit {
|
|
192
|
+
protected chartElement: ElementRef;
|
|
193
|
+
protected zone: NgZone;
|
|
194
|
+
protected cd: ChangeDetectorRef;
|
|
195
|
+
platformId: any;
|
|
196
|
+
results: any;
|
|
197
|
+
view: [number, number];
|
|
198
|
+
scheme: string | Color;
|
|
199
|
+
schemeType: ScaleType;
|
|
200
|
+
customColors: any;
|
|
201
|
+
animations: boolean;
|
|
202
|
+
select: EventEmitter<any>;
|
|
203
|
+
width: number;
|
|
204
|
+
height: number;
|
|
205
|
+
resizeSubscription: any;
|
|
206
|
+
visibilityObserver: VisibilityObserver;
|
|
207
|
+
constructor(chartElement: ElementRef, zone: NgZone, cd: ChangeDetectorRef, platformId: any);
|
|
208
|
+
ngOnInit(): void;
|
|
209
|
+
ngAfterViewInit(): void;
|
|
210
|
+
ngOnDestroy(): void;
|
|
211
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
212
|
+
update(): void;
|
|
213
|
+
getContainerDims(): ViewDimensions;
|
|
214
|
+
/**
|
|
215
|
+
* Converts all date objects that appear as name
|
|
216
|
+
* into formatted date strings
|
|
217
|
+
*/
|
|
218
|
+
formatDates(): void;
|
|
219
|
+
protected unbindEvents(): void;
|
|
220
|
+
private bindWindowResizeEvent;
|
|
221
|
+
/**
|
|
222
|
+
* Clones the data into a new object
|
|
223
|
+
*
|
|
224
|
+
* @memberOf BaseChart
|
|
225
|
+
*/
|
|
226
|
+
private cloneData;
|
|
227
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseChartComponent, never>;
|
|
228
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseChartComponent, "base-chart", never, { "results": { "alias": "results"; "required": false; }; "view": { "alias": "view"; "required": false; }; "scheme": { "alias": "scheme"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "customColors": { "alias": "customColors"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Count up component
|
|
233
|
+
*
|
|
234
|
+
* Loosely inspired by:
|
|
235
|
+
* - https://github.com/izupet/angular2-counto
|
|
236
|
+
* - https://inorganik.github.io/countUp.js/
|
|
237
|
+
*
|
|
238
|
+
* @export
|
|
239
|
+
*/
|
|
240
|
+
declare class CountUpDirective implements OnDestroy {
|
|
241
|
+
private cd;
|
|
242
|
+
countDuration: number;
|
|
243
|
+
countPrefix: string;
|
|
244
|
+
countSuffix: string;
|
|
245
|
+
valueFormatting: any;
|
|
246
|
+
set countDecimals(val: number);
|
|
247
|
+
get countDecimals(): number;
|
|
248
|
+
set countTo(val: any);
|
|
249
|
+
get countTo(): any;
|
|
250
|
+
set countFrom(val: any);
|
|
251
|
+
get countFrom(): any;
|
|
252
|
+
countChange: EventEmitter<any>;
|
|
253
|
+
countFinish: EventEmitter<any>;
|
|
254
|
+
nativeElement: any;
|
|
255
|
+
value: any;
|
|
256
|
+
formattedValue: string;
|
|
257
|
+
private animationReq;
|
|
258
|
+
private _countDecimals;
|
|
259
|
+
private _countTo;
|
|
260
|
+
private _countFrom;
|
|
261
|
+
constructor(cd: ChangeDetectorRef, element: ElementRef);
|
|
262
|
+
ngOnDestroy(): void;
|
|
263
|
+
start(): void;
|
|
264
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CountUpDirective, never>;
|
|
265
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CountUpDirective, "[ngx-charts-count-up]", never, { "countDuration": { "alias": "countDuration"; "required": false; }; "countPrefix": { "alias": "countPrefix"; "required": false; }; "countSuffix": { "alias": "countSuffix"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "countDecimals": { "alias": "countDecimals"; "required": false; }; "countTo": { "alias": "countTo"; "required": false; }; "countFrom": { "alias": "countFrom"; "required": false; }; }, { "countChange": "countChange"; "countFinish": "countFinish"; }, never, never, false, never>;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
declare class ColorHelper {
|
|
269
|
+
scale: any;
|
|
270
|
+
scaleType: ScaleType;
|
|
271
|
+
colorDomain: string[];
|
|
272
|
+
domain: number[] | string[];
|
|
273
|
+
customColors: any;
|
|
274
|
+
constructor(scheme: string | Color, type: ScaleType, domain: number[] | string[], customColors?: any);
|
|
275
|
+
generateColorScheme(scheme: string | Color, type: ScaleType, domain: number[] | string[]): any;
|
|
276
|
+
getColor(value: StringOrNumberOrDate): string;
|
|
277
|
+
getLinearGradientStops(value: number | string, start?: number | string): Gradient[];
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
declare enum PlacementTypes {
|
|
281
|
+
Top = "top",
|
|
282
|
+
Bottom = "bottom",
|
|
283
|
+
Left = "left",
|
|
284
|
+
Right = "right",
|
|
285
|
+
Center = "center"
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
declare enum StyleTypes {
|
|
289
|
+
popover = "popover",
|
|
290
|
+
tooltip = "tooltip"
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
interface Tooltip {
|
|
294
|
+
color: string;
|
|
295
|
+
d0: number;
|
|
296
|
+
d1: number;
|
|
297
|
+
max: number;
|
|
298
|
+
min: number;
|
|
299
|
+
name: any;
|
|
300
|
+
series: any;
|
|
301
|
+
value: any;
|
|
302
|
+
}
|
|
303
|
+
declare class TooltipArea {
|
|
304
|
+
private platformId;
|
|
305
|
+
anchorOpacity: number;
|
|
306
|
+
anchorPos: number;
|
|
307
|
+
anchorValues: Tooltip[];
|
|
308
|
+
lastAnchorPos: number;
|
|
309
|
+
placementTypes: typeof PlacementTypes;
|
|
310
|
+
styleTypes: typeof StyleTypes;
|
|
311
|
+
dims: ViewDimensions;
|
|
312
|
+
xSet: any[];
|
|
313
|
+
xScale: any;
|
|
314
|
+
yScale: any;
|
|
315
|
+
results: any[];
|
|
316
|
+
colors: ColorHelper;
|
|
317
|
+
showPercentage: boolean;
|
|
318
|
+
tooltipDisabled: boolean;
|
|
319
|
+
tooltipTemplate: TemplateRef<any>;
|
|
320
|
+
hover: EventEmitter<{
|
|
321
|
+
value: any;
|
|
322
|
+
}>;
|
|
323
|
+
tooltipAnchor: any;
|
|
324
|
+
constructor(platformId: any);
|
|
325
|
+
getValues(xVal: any): Tooltip[];
|
|
326
|
+
mouseMove(event: any): void;
|
|
327
|
+
findClosestPointIndex(xPos: number): number;
|
|
328
|
+
showTooltip(): void;
|
|
329
|
+
hideTooltip(): void;
|
|
330
|
+
getToolTipText(tooltipItem: Tooltip): string;
|
|
331
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipArea, never>;
|
|
332
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipArea, "g[ngx-charts-tooltip-area]", never, { "dims": { "alias": "dims"; "required": false; }; "xSet": { "alias": "xSet"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "results": { "alias": "results"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "showPercentage": { "alias": "showPercentage"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; }, { "hover": "hover"; }, never, never, false, never>;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
interface LegendOptions {
|
|
336
|
+
colors: any;
|
|
337
|
+
domain: any[];
|
|
338
|
+
position: LegendPosition;
|
|
339
|
+
title: string;
|
|
340
|
+
scaleType: ScaleType;
|
|
341
|
+
}
|
|
342
|
+
declare enum LegendPosition {
|
|
343
|
+
Right = "right",
|
|
344
|
+
Below = "below"
|
|
345
|
+
}
|
|
346
|
+
declare enum LegendType {
|
|
347
|
+
ScaleLegend = "scaleLegend",
|
|
348
|
+
Legend = "legend"
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
declare class ChartComponent implements OnChanges {
|
|
352
|
+
view: [number, number];
|
|
353
|
+
showLegend: boolean;
|
|
354
|
+
legendOptions: LegendOptions;
|
|
355
|
+
legendType: LegendType;
|
|
356
|
+
activeEntries: any[];
|
|
357
|
+
animations: boolean;
|
|
358
|
+
legendLabelClick: EventEmitter<string>;
|
|
359
|
+
legendLabelActivate: EventEmitter<{
|
|
360
|
+
name: string;
|
|
361
|
+
}>;
|
|
362
|
+
legendLabelDeactivate: EventEmitter<{
|
|
363
|
+
name: string;
|
|
364
|
+
}>;
|
|
365
|
+
chartWidth: number;
|
|
366
|
+
title: string;
|
|
367
|
+
legendWidth: number;
|
|
368
|
+
readonly LegendPosition: typeof LegendPosition;
|
|
369
|
+
readonly LegendType: typeof LegendType;
|
|
370
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
371
|
+
update(): void;
|
|
372
|
+
getLegendType(): LegendType;
|
|
373
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>;
|
|
374
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "ngx-charts-chart", never, { "view": { "alias": "view"; "required": false; }; "showLegend": { "alias": "showLegend"; "required": false; }; "legendOptions": { "alias": "legendOptions"; "required": false; }; "legendType": { "alias": "legendType"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "legendLabelClick": "legendLabelClick"; "legendLabelActivate": "legendLabelActivate"; "legendLabelDeactivate": "legendLabelDeactivate"; }, never, ["*"], false, never>;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
interface LegendEntry {
|
|
378
|
+
color: string;
|
|
379
|
+
formattedLabel: string;
|
|
380
|
+
label: string;
|
|
381
|
+
}
|
|
382
|
+
declare class LegendComponent implements OnChanges {
|
|
383
|
+
private cd;
|
|
384
|
+
data: string[];
|
|
385
|
+
title: string;
|
|
386
|
+
colors: ColorHelper;
|
|
387
|
+
height: number;
|
|
388
|
+
width: number;
|
|
389
|
+
activeEntries: any;
|
|
390
|
+
horizontal: boolean;
|
|
391
|
+
labelClick: EventEmitter<string>;
|
|
392
|
+
labelActivate: EventEmitter<{
|
|
393
|
+
name: string;
|
|
394
|
+
}>;
|
|
395
|
+
labelDeactivate: EventEmitter<{
|
|
396
|
+
name: string;
|
|
397
|
+
}>;
|
|
398
|
+
legendEntries: LegendEntry[];
|
|
399
|
+
constructor(cd: ChangeDetectorRef);
|
|
400
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
401
|
+
update(): void;
|
|
402
|
+
getLegendEntries(): LegendEntry[];
|
|
403
|
+
isActive(entry: LegendEntry): boolean;
|
|
404
|
+
activate(item: {
|
|
405
|
+
name: string;
|
|
406
|
+
}): void;
|
|
407
|
+
deactivate(item: {
|
|
408
|
+
name: string;
|
|
409
|
+
}): void;
|
|
410
|
+
trackBy(index: number, item: LegendEntry): string;
|
|
411
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LegendComponent, never>;
|
|
412
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "ngx-charts-legend", never, { "data": { "alias": "data"; "required": false; }; "title": { "alias": "title"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; }, { "labelClick": "labelClick"; "labelActivate": "labelActivate"; "labelDeactivate": "labelDeactivate"; }, never, never, false, never>;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
declare class LegendEntryComponent {
|
|
416
|
+
color: string;
|
|
417
|
+
label: string;
|
|
418
|
+
formattedLabel: string;
|
|
419
|
+
isActive: boolean;
|
|
420
|
+
select: EventEmitter<string>;
|
|
421
|
+
activate: EventEmitter<{
|
|
422
|
+
name: string;
|
|
423
|
+
}>;
|
|
424
|
+
deactivate: EventEmitter<{
|
|
425
|
+
name: string;
|
|
426
|
+
}>;
|
|
427
|
+
toggle: EventEmitter<string>;
|
|
428
|
+
get trimmedLabel(): string;
|
|
429
|
+
onMouseEnter(): void;
|
|
430
|
+
onMouseLeave(): void;
|
|
431
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LegendEntryComponent, never>;
|
|
432
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LegendEntryComponent, "ngx-charts-legend-entry", never, { "color": { "alias": "color"; "required": false; }; "label": { "alias": "label"; "required": false; }; "formattedLabel": { "alias": "formattedLabel"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; "toggle": "toggle"; }, never, never, false, never>;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
declare class ScaleLegendComponent implements OnChanges {
|
|
436
|
+
valueRange: number[];
|
|
437
|
+
colors: any;
|
|
438
|
+
height: number;
|
|
439
|
+
width: number;
|
|
440
|
+
horizontal: boolean;
|
|
441
|
+
gradient: string;
|
|
442
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
443
|
+
/**
|
|
444
|
+
* Generates the string used in the gradient stylesheet properties
|
|
445
|
+
* @param colors array of colors
|
|
446
|
+
* @param splits array of splits on a scale of (0, 1)
|
|
447
|
+
*/
|
|
448
|
+
gradientString(colors: string[], splits: number[]): string;
|
|
449
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleLegendComponent, never>;
|
|
450
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScaleLegendComponent, "ngx-charts-scale-legend", never, { "valueRange": { "alias": "valueRange"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; }, {}, never, never, false, never>;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
declare class CircleComponent implements OnChanges {
|
|
454
|
+
cx: number;
|
|
455
|
+
cy: number;
|
|
456
|
+
r: number;
|
|
457
|
+
fill: string;
|
|
458
|
+
stroke: string;
|
|
459
|
+
data: number | string;
|
|
460
|
+
classNames: string[] | string;
|
|
461
|
+
circleOpacity: number;
|
|
462
|
+
pointerEvents: string;
|
|
463
|
+
select: EventEmitter<number | string>;
|
|
464
|
+
activate: EventEmitter<number | string>;
|
|
465
|
+
deactivate: EventEmitter<number | string>;
|
|
466
|
+
onClick(): void;
|
|
467
|
+
onMouseEnter(): void;
|
|
468
|
+
onMouseLeave(): void;
|
|
469
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
470
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CircleComponent, never>;
|
|
471
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CircleComponent, "g[ngx-charts-circle]", never, { "cx": { "alias": "cx"; "required": false; }; "cy": { "alias": "cy"; "required": false; }; "r": { "alias": "r"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; "data": { "alias": "data"; "required": false; }; "classNames": { "alias": "classNames"; "required": false; }; "circleOpacity": { "alias": "circleOpacity"; "required": false; }; "pointerEvents": { "alias": "pointerEvents"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
declare enum SeriesType {
|
|
475
|
+
Standard = "standard",
|
|
476
|
+
Stacked = "stacked"
|
|
477
|
+
}
|
|
478
|
+
interface Circle {
|
|
479
|
+
classNames: string[];
|
|
480
|
+
value: string | number;
|
|
481
|
+
label: string;
|
|
482
|
+
data: DataItem;
|
|
483
|
+
cx: number;
|
|
484
|
+
cy: number;
|
|
485
|
+
radius: number;
|
|
486
|
+
height: number;
|
|
487
|
+
tooltipLabel: string;
|
|
488
|
+
color: string;
|
|
489
|
+
opacity: number;
|
|
490
|
+
seriesName: string;
|
|
491
|
+
gradientStops: Gradient[];
|
|
492
|
+
min: number;
|
|
493
|
+
max: number;
|
|
494
|
+
}
|
|
495
|
+
declare class CircleSeriesComponent implements OnChanges, OnInit {
|
|
496
|
+
private platformId;
|
|
497
|
+
data: Series;
|
|
498
|
+
type: SeriesType;
|
|
499
|
+
xScale: any;
|
|
500
|
+
yScale: any;
|
|
501
|
+
colors: ColorHelper;
|
|
502
|
+
scaleType: ScaleType;
|
|
503
|
+
visibleValue: boolean;
|
|
504
|
+
activeEntries: any[];
|
|
505
|
+
tooltipDisabled: boolean;
|
|
506
|
+
tooltipTemplate: TemplateRef<any>;
|
|
507
|
+
select: EventEmitter<DataItem>;
|
|
508
|
+
activate: EventEmitter<{
|
|
509
|
+
name: StringOrNumberOrDate;
|
|
510
|
+
}>;
|
|
511
|
+
deactivate: EventEmitter<{
|
|
512
|
+
name: StringOrNumberOrDate;
|
|
513
|
+
}>;
|
|
514
|
+
areaPath: any;
|
|
515
|
+
circle: Circle;
|
|
516
|
+
barVisible: boolean;
|
|
517
|
+
gradientId: string;
|
|
518
|
+
gradientFill: string;
|
|
519
|
+
barOrientation: typeof BarOrientation;
|
|
520
|
+
placementTypes: typeof PlacementTypes;
|
|
521
|
+
styleTypes: typeof StyleTypes;
|
|
522
|
+
isSSR: boolean;
|
|
523
|
+
constructor(platformId: any);
|
|
524
|
+
ngOnInit(): void;
|
|
525
|
+
ngOnChanges(): void;
|
|
526
|
+
update(): void;
|
|
527
|
+
getActiveCircle(): Circle;
|
|
528
|
+
mapDataPointToCircle(d: any, i: number): Circle;
|
|
529
|
+
getTooltipText({ tooltipLabel, value, seriesName, min, max }: {
|
|
530
|
+
tooltipLabel: string;
|
|
531
|
+
value: any;
|
|
532
|
+
seriesName: string;
|
|
533
|
+
min: number;
|
|
534
|
+
max: number;
|
|
535
|
+
}): string;
|
|
536
|
+
getTooltipMinMaxText(min: number, max: number): string;
|
|
537
|
+
getGradientStops(color: string): Gradient[];
|
|
538
|
+
onClick(data: DataItem): void;
|
|
539
|
+
isActive(entry: any): boolean;
|
|
540
|
+
activateCircle(): void;
|
|
541
|
+
deactivateCircle(): void;
|
|
542
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CircleSeriesComponent, never>;
|
|
543
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CircleSeriesComponent, "g[ngx-charts-circle-series]", never, { "data": { "alias": "data"; "required": false; }; "type": { "alias": "type"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "visibleValue": { "alias": "visibleValue"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
declare class GridPanelComponent {
|
|
547
|
+
width: number;
|
|
548
|
+
height: number;
|
|
549
|
+
x: number;
|
|
550
|
+
y: number;
|
|
551
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridPanelComponent, never>;
|
|
552
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridPanelComponent, "g[ngx-charts-grid-panel]", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; }, {}, never, never, false, never>;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
interface GridPanel {
|
|
556
|
+
class: ClassEnum;
|
|
557
|
+
height: number;
|
|
558
|
+
name: string;
|
|
559
|
+
width: number;
|
|
560
|
+
x: number;
|
|
561
|
+
y: number;
|
|
562
|
+
}
|
|
563
|
+
declare enum ClassEnum {
|
|
564
|
+
Odd = "odd",
|
|
565
|
+
Even = "even"
|
|
566
|
+
}
|
|
567
|
+
declare class GridPanelSeriesComponent implements OnChanges {
|
|
568
|
+
gridPanels: GridPanel[];
|
|
569
|
+
data: any[];
|
|
570
|
+
dims: ViewDimensions;
|
|
571
|
+
xScale: any;
|
|
572
|
+
yScale: any;
|
|
573
|
+
orient: BarOrientation;
|
|
574
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
575
|
+
update(): void;
|
|
576
|
+
getGridPanels(): GridPanel[];
|
|
577
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridPanelSeriesComponent, never>;
|
|
578
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridPanelSeriesComponent, "g[ngx-charts-grid-panel-series]", never, { "data": { "alias": "data"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; }, {}, never, never, false, never>;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare class SvgLinearGradientComponent implements OnChanges {
|
|
582
|
+
orientation: BarOrientation;
|
|
583
|
+
name: string;
|
|
584
|
+
stops: Gradient[];
|
|
585
|
+
x1: string;
|
|
586
|
+
x2: string;
|
|
587
|
+
y1: string;
|
|
588
|
+
y2: string;
|
|
589
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
590
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SvgLinearGradientComponent, never>;
|
|
591
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SvgLinearGradientComponent, "g[ngx-charts-svg-linear-gradient]", never, { "orientation": { "alias": "orientation"; "required": false; }; "name": { "alias": "name"; "required": false; }; "stops": { "alias": "stops"; "required": false; }; }, {}, never, never, false, never>;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
declare class SvgRadialGradientComponent implements OnChanges {
|
|
595
|
+
color: string;
|
|
596
|
+
name: string;
|
|
597
|
+
startOpacity: number;
|
|
598
|
+
endOpacity: number;
|
|
599
|
+
cx: number;
|
|
600
|
+
cy: number;
|
|
601
|
+
get stops(): Gradient[];
|
|
602
|
+
set stops(value: Gradient[]);
|
|
603
|
+
r: string;
|
|
604
|
+
private stopsInput;
|
|
605
|
+
private stopsDefault;
|
|
606
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
607
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SvgRadialGradientComponent, never>;
|
|
608
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SvgRadialGradientComponent, "g[ngx-charts-svg-radial-gradient]", never, { "color": { "alias": "color"; "required": false; }; "name": { "alias": "name"; "required": false; }; "startOpacity": { "alias": "startOpacity"; "required": false; }; "endOpacity": { "alias": "endOpacity"; "required": false; }; "cx": { "alias": "cx"; "required": false; }; "cy": { "alias": "cy"; "required": false; }; "stops": { "alias": "stops"; "required": false; }; }, {}, never, never, false, never>;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
declare class Timeline implements OnChanges {
|
|
612
|
+
private cd;
|
|
613
|
+
view: [number, number];
|
|
614
|
+
results: any;
|
|
615
|
+
scheme: any;
|
|
616
|
+
customColors: any;
|
|
617
|
+
legend: boolean;
|
|
618
|
+
autoScale: boolean;
|
|
619
|
+
scaleType: ScaleType;
|
|
620
|
+
height: number;
|
|
621
|
+
select: EventEmitter<any>;
|
|
622
|
+
onDomainChange: EventEmitter<any>;
|
|
623
|
+
element: HTMLElement;
|
|
624
|
+
dims: ViewDimensions;
|
|
625
|
+
xDomain: any[];
|
|
626
|
+
xScale: any;
|
|
627
|
+
brush: any;
|
|
628
|
+
transform: string;
|
|
629
|
+
initialized: boolean;
|
|
630
|
+
filterId: string;
|
|
631
|
+
filter: string;
|
|
632
|
+
constructor(element: ElementRef, cd: ChangeDetectorRef);
|
|
633
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
634
|
+
update(): void;
|
|
635
|
+
getXDomain(): any[];
|
|
636
|
+
getXScale(): any;
|
|
637
|
+
addBrush(): void;
|
|
638
|
+
updateBrush(): void;
|
|
639
|
+
getDims(): ViewDimensions;
|
|
640
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Timeline, never>;
|
|
641
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Timeline, "g[ngx-charts-timeline]", never, { "view": { "alias": "view"; "required": false; }; "results": { "alias": "results"; "required": false; }; "scheme": { "alias": "scheme"; "required": false; }; "customColors": { "alias": "customColors"; "required": false; }; "legend": { "alias": "legend"; "required": false; }; "autoScale": { "alias": "autoScale"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "select": "select"; "onDomainChange": "onDomainChange"; }, never, ["*"], false, never>;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
interface AdvancedLegendItem {
|
|
645
|
+
value: StringOrNumberOrDate;
|
|
646
|
+
_value: StringOrNumberOrDate;
|
|
647
|
+
color: string;
|
|
648
|
+
data: DataItem;
|
|
649
|
+
label: string;
|
|
650
|
+
displayLabel: string;
|
|
651
|
+
originalLabel: string;
|
|
652
|
+
percentage: string;
|
|
653
|
+
}
|
|
654
|
+
declare class AdvancedLegendComponent implements OnChanges {
|
|
655
|
+
width: number;
|
|
656
|
+
data: DataItem[];
|
|
657
|
+
colors: ColorHelper;
|
|
658
|
+
label: string;
|
|
659
|
+
animations: boolean;
|
|
660
|
+
select: EventEmitter<DataItem>;
|
|
661
|
+
activate: EventEmitter<DataItem>;
|
|
662
|
+
deactivate: EventEmitter<DataItem>;
|
|
663
|
+
legendItems: AdvancedLegendItem[];
|
|
664
|
+
total: number;
|
|
665
|
+
roundedTotal: number;
|
|
666
|
+
valueFormatting: (value: StringOrNumberOrDate) => any;
|
|
667
|
+
labelFormatting: (value: string) => string;
|
|
668
|
+
percentageFormatting: (value: number) => number;
|
|
669
|
+
defaultValueFormatting: (value: StringOrNumberOrDate) => string;
|
|
670
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
671
|
+
getTotal(): number;
|
|
672
|
+
update(): void;
|
|
673
|
+
getLegendItems(): AdvancedLegendItem[];
|
|
674
|
+
trackBy(index: number, item: AdvancedLegendItem): string;
|
|
675
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedLegendComponent, never>;
|
|
676
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedLegendComponent, "ngx-charts-advanced-legend", never, { "width": { "alias": "width"; "required": false; }; "data": { "alias": "data"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "label": { "alias": "label"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "percentageFormatting": { "alias": "percentageFormatting"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
declare enum Orientation {
|
|
680
|
+
Top = "top",
|
|
681
|
+
Bottom = "bottom",
|
|
682
|
+
Left = "left",
|
|
683
|
+
Right = "right"
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
declare class AxisLabelComponent implements OnChanges {
|
|
687
|
+
orient: Orientation;
|
|
688
|
+
label: string;
|
|
689
|
+
offset: number;
|
|
690
|
+
width: number;
|
|
691
|
+
height: number;
|
|
692
|
+
x: number;
|
|
693
|
+
y: number;
|
|
694
|
+
transform: string;
|
|
695
|
+
strokeWidth: string;
|
|
696
|
+
textAnchor: string;
|
|
697
|
+
element: ElementRef;
|
|
698
|
+
textHeight: number;
|
|
699
|
+
margin: number;
|
|
700
|
+
constructor(element: ElementRef);
|
|
701
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
702
|
+
update(): void;
|
|
703
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AxisLabelComponent, never>;
|
|
704
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AxisLabelComponent, "g[ngx-charts-axis-label]", never, { "orient": { "alias": "orient"; "required": false; }; "label": { "alias": "label"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, false, never>;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
declare enum TextAnchor {
|
|
708
|
+
Start = "start",
|
|
709
|
+
Middle = "middle",
|
|
710
|
+
End = "end"
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
declare class XAxisTicksComponent implements OnChanges, AfterViewInit {
|
|
714
|
+
private platformId;
|
|
715
|
+
scale: any;
|
|
716
|
+
orient: Orientation;
|
|
717
|
+
tickArguments: number[];
|
|
718
|
+
tickValues: string[] | number[];
|
|
719
|
+
tickStroke: string;
|
|
720
|
+
trimTicks: boolean;
|
|
721
|
+
maxTickLength: number;
|
|
722
|
+
tickFormatting: any;
|
|
723
|
+
showGridLines: boolean;
|
|
724
|
+
gridLineHeight: number;
|
|
725
|
+
width: number;
|
|
726
|
+
rotateTicks: boolean;
|
|
727
|
+
wrapTicks: boolean;
|
|
728
|
+
referenceLines: any[];
|
|
729
|
+
showRefLabels: boolean;
|
|
730
|
+
showRefLines: boolean;
|
|
731
|
+
dimensionsChanged: EventEmitter<any>;
|
|
732
|
+
verticalSpacing: number;
|
|
733
|
+
rotateLabels: boolean;
|
|
734
|
+
innerTickSize: number;
|
|
735
|
+
outerTickSize: number;
|
|
736
|
+
tickPadding: number;
|
|
737
|
+
textAnchor: TextAnchor;
|
|
738
|
+
maxTicksLength: number;
|
|
739
|
+
maxAllowedLength: number;
|
|
740
|
+
adjustedScale: any;
|
|
741
|
+
textTransform: string;
|
|
742
|
+
ticks: any[];
|
|
743
|
+
tickFormat: (o: any) => any;
|
|
744
|
+
height: number;
|
|
745
|
+
approxHeight: number;
|
|
746
|
+
maxPossibleLengthForTickIfWrapped: number;
|
|
747
|
+
transform: (o: any) => string;
|
|
748
|
+
refMax: number;
|
|
749
|
+
refMin: number;
|
|
750
|
+
referenceLineLength: number;
|
|
751
|
+
referenceAreaPath: string;
|
|
752
|
+
dx: string;
|
|
753
|
+
x1: number;
|
|
754
|
+
x2: number;
|
|
755
|
+
y1: number;
|
|
756
|
+
y2: number;
|
|
757
|
+
tickSpacing: number;
|
|
758
|
+
ticksElement: ElementRef;
|
|
759
|
+
get isWrapTicksSupported(): any;
|
|
760
|
+
constructor(platformId: any);
|
|
761
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
762
|
+
ngAfterViewInit(): void;
|
|
763
|
+
updateDims(): void;
|
|
764
|
+
update(): void;
|
|
765
|
+
setReferencelines(): void;
|
|
766
|
+
getRotationAngle(ticks: any[]): number;
|
|
767
|
+
getTicks(): any[];
|
|
768
|
+
getMaxTicks(tickWidth: number): number;
|
|
769
|
+
tickTransform(tick: number): string;
|
|
770
|
+
gridLineTransform(): string;
|
|
771
|
+
tickTrim(label: string): string;
|
|
772
|
+
getMaxPossibleLengthForTick(longestLabel: string): number;
|
|
773
|
+
tickChunks(label: string): string[];
|
|
774
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XAxisTicksComponent, never>;
|
|
775
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XAxisTicksComponent, "g[ngx-charts-x-axis-ticks]", never, { "scale": { "alias": "scale"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "tickArguments": { "alias": "tickArguments"; "required": false; }; "tickValues": { "alias": "tickValues"; "required": false; }; "tickStroke": { "alias": "tickStroke"; "required": false; }; "trimTicks": { "alias": "trimTicks"; "required": false; }; "maxTickLength": { "alias": "maxTickLength"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "gridLineHeight": { "alias": "gridLineHeight"; "required": false; }; "width": { "alias": "width"; "required": false; }; "rotateTicks": { "alias": "rotateTicks"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
declare class XAxisComponent implements OnChanges {
|
|
779
|
+
xScale: any;
|
|
780
|
+
dims: ViewDimensions;
|
|
781
|
+
trimTicks: boolean;
|
|
782
|
+
rotateTicks: boolean;
|
|
783
|
+
maxTickLength: number;
|
|
784
|
+
tickFormatting: any;
|
|
785
|
+
showGridLines: boolean;
|
|
786
|
+
showLabel: boolean;
|
|
787
|
+
labelText: string;
|
|
788
|
+
ticks: any[];
|
|
789
|
+
xAxisTickCount: number;
|
|
790
|
+
xOrient: Orientation;
|
|
791
|
+
referenceLines: any[];
|
|
792
|
+
showRefLines: boolean;
|
|
793
|
+
showRefLabels: boolean;
|
|
794
|
+
xAxisOffset: number;
|
|
795
|
+
wrapTicks: boolean;
|
|
796
|
+
dimensionsChanged: EventEmitter<any>;
|
|
797
|
+
xAxisClassName: string;
|
|
798
|
+
tickArguments: number[];
|
|
799
|
+
transform: string;
|
|
800
|
+
labelOffset: number;
|
|
801
|
+
fill: string;
|
|
802
|
+
stroke: string;
|
|
803
|
+
tickStroke: string;
|
|
804
|
+
strokeWidth: string;
|
|
805
|
+
padding: number;
|
|
806
|
+
readonly orientation: typeof Orientation;
|
|
807
|
+
ticksComponent: XAxisTicksComponent;
|
|
808
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
809
|
+
update(): void;
|
|
810
|
+
emitTicksHeight({ height }: {
|
|
811
|
+
height: any;
|
|
812
|
+
}): void;
|
|
813
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XAxisComponent, never>;
|
|
814
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XAxisComponent, "g[ngx-charts-x-axis]", never, { "xScale": { "alias": "xScale"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "trimTicks": { "alias": "trimTicks"; "required": false; }; "rotateTicks": { "alias": "rotateTicks"; "required": false; }; "maxTickLength": { "alias": "maxTickLength"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "ticks": { "alias": "ticks"; "required": false; }; "xAxisTickCount": { "alias": "xAxisTickCount"; "required": false; }; "xOrient": { "alias": "xOrient"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "required": false; }; "xAxisOffset": { "alias": "xAxisOffset"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
declare class YAxisTicksComponent implements OnChanges, AfterViewInit {
|
|
818
|
+
private platformId;
|
|
819
|
+
scale: any;
|
|
820
|
+
orient: Orientation;
|
|
821
|
+
tickArguments: number[];
|
|
822
|
+
tickValues: string[] | number[];
|
|
823
|
+
tickStroke: string;
|
|
824
|
+
trimTicks: boolean;
|
|
825
|
+
maxTickLength: number;
|
|
826
|
+
tickFormatting: any;
|
|
827
|
+
showGridLines: boolean;
|
|
828
|
+
gridLineWidth: number;
|
|
829
|
+
height: number;
|
|
830
|
+
referenceLines: any;
|
|
831
|
+
showRefLabels: boolean;
|
|
832
|
+
showRefLines: boolean;
|
|
833
|
+
wrapTicks: boolean;
|
|
834
|
+
dimensionsChanged: EventEmitter<any>;
|
|
835
|
+
innerTickSize: number;
|
|
836
|
+
tickPadding: number;
|
|
837
|
+
tickSpacing: number;
|
|
838
|
+
verticalSpacing: number;
|
|
839
|
+
textAnchor: TextAnchor;
|
|
840
|
+
dy: string;
|
|
841
|
+
x1: number;
|
|
842
|
+
x2: number;
|
|
843
|
+
y1: number;
|
|
844
|
+
y2: number;
|
|
845
|
+
adjustedScale: any;
|
|
846
|
+
transform: (o: any) => string;
|
|
847
|
+
tickFormat: (o: any) => string;
|
|
848
|
+
ticks: any[];
|
|
849
|
+
width: number;
|
|
850
|
+
outerTickSize: number;
|
|
851
|
+
rotateLabels: boolean;
|
|
852
|
+
refMax: number;
|
|
853
|
+
refMin: number;
|
|
854
|
+
referenceLineLength: number;
|
|
855
|
+
referenceAreaPath: string;
|
|
856
|
+
readonly Orientation: typeof Orientation;
|
|
857
|
+
ticksElement: ElementRef;
|
|
858
|
+
constructor(platformId: any);
|
|
859
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
860
|
+
ngAfterViewInit(): void;
|
|
861
|
+
updateDims(): void;
|
|
862
|
+
update(): void;
|
|
863
|
+
setReferencelines(): void;
|
|
864
|
+
getTicks(): any[];
|
|
865
|
+
getMaxTicks(tickHeight: number): number;
|
|
866
|
+
tickTransform(tick: number): string;
|
|
867
|
+
gridLineTransform(): string;
|
|
868
|
+
tickTrim(label: string): string;
|
|
869
|
+
getApproximateAxisWidth(): number;
|
|
870
|
+
tickChunks(label: string): string[];
|
|
871
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YAxisTicksComponent, never>;
|
|
872
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YAxisTicksComponent, "g[ngx-charts-y-axis-ticks]", never, { "scale": { "alias": "scale"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "tickArguments": { "alias": "tickArguments"; "required": false; }; "tickValues": { "alias": "tickValues"; "required": false; }; "tickStroke": { "alias": "tickStroke"; "required": false; }; "trimTicks": { "alias": "trimTicks"; "required": false; }; "maxTickLength": { "alias": "maxTickLength"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "gridLineWidth": { "alias": "gridLineWidth"; "required": false; }; "height": { "alias": "height"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
declare class YAxisComponent implements OnChanges {
|
|
876
|
+
yScale: any;
|
|
877
|
+
dims: ViewDimensions;
|
|
878
|
+
trimTicks: boolean;
|
|
879
|
+
maxTickLength: number;
|
|
880
|
+
tickFormatting: any;
|
|
881
|
+
ticks: any[];
|
|
882
|
+
showGridLines: boolean;
|
|
883
|
+
showLabel: boolean;
|
|
884
|
+
labelText: string;
|
|
885
|
+
yAxisTickCount: any;
|
|
886
|
+
yOrient: Orientation;
|
|
887
|
+
referenceLines: any;
|
|
888
|
+
showRefLines: boolean;
|
|
889
|
+
showRefLabels: boolean;
|
|
890
|
+
yAxisOffset: number;
|
|
891
|
+
wrapTicks: boolean;
|
|
892
|
+
dimensionsChanged: EventEmitter<any>;
|
|
893
|
+
yAxisClassName: string;
|
|
894
|
+
tickArguments: number[];
|
|
895
|
+
offset: number;
|
|
896
|
+
transform: string;
|
|
897
|
+
labelOffset: number;
|
|
898
|
+
fill: string;
|
|
899
|
+
stroke: string;
|
|
900
|
+
tickStroke: string;
|
|
901
|
+
strokeWidth: number;
|
|
902
|
+
padding: number;
|
|
903
|
+
ticksComponent: YAxisTicksComponent;
|
|
904
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
905
|
+
update(): void;
|
|
906
|
+
emitTicksWidth({ width }: {
|
|
907
|
+
width: any;
|
|
908
|
+
}): void;
|
|
909
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YAxisComponent, never>;
|
|
910
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YAxisComponent, "g[ngx-charts-y-axis]", never, { "yScale": { "alias": "yScale"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "trimTicks": { "alias": "trimTicks"; "required": false; }; "maxTickLength": { "alias": "maxTickLength"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; "ticks": { "alias": "ticks"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "yAxisTickCount": { "alias": "yAxisTickCount"; "required": false; }; "yOrient": { "alias": "yOrient"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "required": false; }; "yAxisOffset": { "alias": "yAxisOffset"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
declare class AxesModule {
|
|
914
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AxesModule, never>;
|
|
915
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AxesModule, [typeof AxisLabelComponent, typeof XAxisComponent, typeof XAxisTicksComponent, typeof YAxisComponent, typeof YAxisTicksComponent], [typeof i18.CommonModule], [typeof AxisLabelComponent, typeof XAxisComponent, typeof XAxisTicksComponent, typeof YAxisComponent, typeof YAxisTicksComponent]>;
|
|
916
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AxesModule>;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
declare class TooltipContentComponent implements AfterViewInit {
|
|
920
|
+
element: ElementRef;
|
|
921
|
+
private renderer;
|
|
922
|
+
private platformId;
|
|
923
|
+
host: ElementRef;
|
|
924
|
+
showCaret: boolean;
|
|
925
|
+
type: StyleTypes;
|
|
926
|
+
placement: PlacementTypes;
|
|
927
|
+
alignment: PlacementTypes;
|
|
928
|
+
spacing: number;
|
|
929
|
+
cssClass: string;
|
|
930
|
+
title: string;
|
|
931
|
+
template: TemplateRef<any>;
|
|
932
|
+
context: any;
|
|
933
|
+
caretElm: ElementRef;
|
|
934
|
+
get cssClasses(): string;
|
|
935
|
+
constructor(element: ElementRef, renderer: Renderer2, platformId: any);
|
|
936
|
+
ngAfterViewInit(): void;
|
|
937
|
+
position(): void;
|
|
938
|
+
positionContent(nativeElm: HTMLElement, hostDim: DOMRect, elmDim: DOMRect): void;
|
|
939
|
+
positionCaret(hostDim: DOMRect, elmDim: DOMRect): void;
|
|
940
|
+
checkFlip(hostDim: DOMRect, elmDim: DOMRect): void;
|
|
941
|
+
onWindowResize(): void;
|
|
942
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipContentComponent, never>;
|
|
943
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContentComponent, "ngx-tooltip-content", never, { "host": { "alias": "host"; "required": false; }; "showCaret": { "alias": "showCaret"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "title": { "alias": "title"; "required": false; }; "template": { "alias": "template"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, never, false, never>;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
declare enum ShowTypes {
|
|
947
|
+
all,
|
|
948
|
+
focus,
|
|
949
|
+
mouseover
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Injection service is a helper to append components
|
|
954
|
+
* dynamically to a known location in the DOM, most
|
|
955
|
+
* noteably for dialogs/tooltips appending to body.
|
|
956
|
+
*
|
|
957
|
+
* @export
|
|
958
|
+
*/
|
|
959
|
+
declare class InjectionService {
|
|
960
|
+
private applicationRef;
|
|
961
|
+
private injector;
|
|
962
|
+
static globalRootViewContainer: ViewContainerRef;
|
|
963
|
+
/**
|
|
964
|
+
* Sets a default global root view container. This is useful for
|
|
965
|
+
* things like ngUpgrade that doesn't have a ApplicationRef root.
|
|
966
|
+
*
|
|
967
|
+
* @param container
|
|
968
|
+
*/
|
|
969
|
+
static setGlobalRootViewContainer(container: ViewContainerRef): void;
|
|
970
|
+
private _container;
|
|
971
|
+
constructor(applicationRef: ApplicationRef, injector: Injector);
|
|
972
|
+
/**
|
|
973
|
+
* Gets the root view container to inject the component to.
|
|
974
|
+
*
|
|
975
|
+
* @memberOf InjectionService
|
|
976
|
+
*/
|
|
977
|
+
getRootViewContainer(): ViewContainerRef | ComponentRef<any>;
|
|
978
|
+
/**
|
|
979
|
+
* Overrides the default root view container. This is useful for
|
|
980
|
+
* things like ngUpgrade that doesn't have a ApplicationRef root.
|
|
981
|
+
*
|
|
982
|
+
* @param container
|
|
983
|
+
*
|
|
984
|
+
* @memberOf InjectionService
|
|
985
|
+
*/
|
|
986
|
+
setRootViewContainer(container: ViewContainerRef): void;
|
|
987
|
+
/**
|
|
988
|
+
* Gets the html element for a component ref.
|
|
989
|
+
*
|
|
990
|
+
* @param componentRef
|
|
991
|
+
*
|
|
992
|
+
* @memberOf InjectionService
|
|
993
|
+
*/
|
|
994
|
+
getComponentRootNode(component: ViewContainerRef | ComponentRef<any>): HTMLElement;
|
|
995
|
+
/**
|
|
996
|
+
* Gets the root component container html element.
|
|
997
|
+
*
|
|
998
|
+
* @memberOf InjectionService
|
|
999
|
+
*/
|
|
1000
|
+
getRootViewContainerNode(component: ViewContainerRef | ComponentRef<any>): HTMLElement;
|
|
1001
|
+
/**
|
|
1002
|
+
* Projects the bindings onto the component
|
|
1003
|
+
*
|
|
1004
|
+
* @param component
|
|
1005
|
+
* @param options
|
|
1006
|
+
*
|
|
1007
|
+
* @memberOf InjectionService
|
|
1008
|
+
*/
|
|
1009
|
+
projectComponentBindings(component: ComponentRef<any>, bindings: any): ComponentRef<any>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Appends a component to a adjacent location
|
|
1012
|
+
*
|
|
1013
|
+
* @param componentClass
|
|
1014
|
+
* @param [options={}]
|
|
1015
|
+
* @param [location]
|
|
1016
|
+
*
|
|
1017
|
+
* @memberOf InjectionService
|
|
1018
|
+
*/
|
|
1019
|
+
appendComponent<T>(componentClass: Type<T>, bindings?: any, location?: any): ComponentRef<any>;
|
|
1020
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InjectionService, never>;
|
|
1021
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InjectionService>;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
interface PartialBindings {
|
|
1025
|
+
inputs?: object;
|
|
1026
|
+
outputs?: object;
|
|
1027
|
+
}
|
|
1028
|
+
declare abstract class InjectionRegisteryService<T = any> {
|
|
1029
|
+
injectionService: InjectionService;
|
|
1030
|
+
protected abstract type: Type<T>;
|
|
1031
|
+
protected defaults: PartialBindings;
|
|
1032
|
+
protected components: Map<any, Array<ComponentRef<T>>>;
|
|
1033
|
+
constructor(injectionService: InjectionService);
|
|
1034
|
+
getByType(type?: Type<T>): ComponentRef<T>[];
|
|
1035
|
+
create(bindings: object): ComponentRef<T>;
|
|
1036
|
+
createByType(type: Type<T>, bindings: PartialBindings): ComponentRef<T>;
|
|
1037
|
+
destroy(instance: ComponentRef<T>): void;
|
|
1038
|
+
destroyAll(): void;
|
|
1039
|
+
destroyByType(type: Type<T>): void;
|
|
1040
|
+
protected injectComponent(type: Type<T>, bindings: PartialBindings): ComponentRef<T>;
|
|
1041
|
+
protected assignDefaults(bindings: PartialBindings): PartialBindings;
|
|
1042
|
+
protected register(type: Type<T>, component: ComponentRef<T>): void;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
declare class TooltipService extends InjectionRegisteryService<TooltipContentComponent> {
|
|
1046
|
+
type: any;
|
|
1047
|
+
constructor(injectionService: InjectionService);
|
|
1048
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipService, never>;
|
|
1049
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TooltipService>;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
declare class TooltipDirective implements OnDestroy {
|
|
1053
|
+
private tooltipService;
|
|
1054
|
+
private viewContainerRef;
|
|
1055
|
+
private renderer;
|
|
1056
|
+
tooltipCssClass: string;
|
|
1057
|
+
tooltipTitle?: string;
|
|
1058
|
+
tooltipAppendToBody: boolean;
|
|
1059
|
+
tooltipSpacing: number;
|
|
1060
|
+
tooltipDisabled: boolean;
|
|
1061
|
+
tooltipShowCaret: boolean;
|
|
1062
|
+
tooltipPlacement: PlacementTypes;
|
|
1063
|
+
tooltipAlignment: PlacementTypes;
|
|
1064
|
+
tooltipType: StyleTypes;
|
|
1065
|
+
tooltipCloseOnClickOutside: boolean;
|
|
1066
|
+
tooltipCloseOnMouseLeave: boolean;
|
|
1067
|
+
tooltipHideTimeout: number;
|
|
1068
|
+
tooltipShowTimeout: number;
|
|
1069
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1070
|
+
tooltipShowEvent: ShowTypes;
|
|
1071
|
+
tooltipContext: any;
|
|
1072
|
+
tooltipImmediateExit: boolean;
|
|
1073
|
+
show: EventEmitter<boolean>;
|
|
1074
|
+
hide: EventEmitter<boolean>;
|
|
1075
|
+
private get listensForFocus();
|
|
1076
|
+
private get listensForHover();
|
|
1077
|
+
private component;
|
|
1078
|
+
private timeout;
|
|
1079
|
+
private mouseLeaveContentEvent;
|
|
1080
|
+
private mouseEnterContentEvent;
|
|
1081
|
+
private documentClickEvent;
|
|
1082
|
+
constructor(tooltipService: TooltipService, viewContainerRef: ViewContainerRef, renderer: Renderer2);
|
|
1083
|
+
ngOnDestroy(): void;
|
|
1084
|
+
onFocus(): void;
|
|
1085
|
+
onBlur(): void;
|
|
1086
|
+
onMouseEnter(): void;
|
|
1087
|
+
onMouseLeave(target: any): void;
|
|
1088
|
+
onMouseClick(): void;
|
|
1089
|
+
showTooltip(immediate?: boolean): void;
|
|
1090
|
+
addHideListeners(tooltip: HTMLElement): void;
|
|
1091
|
+
hideTooltip(immediate?: boolean): void;
|
|
1092
|
+
private createBoundOptions;
|
|
1093
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
1094
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[ngx-tooltip]", never, { "tooltipCssClass": { "alias": "tooltipCssClass"; "required": false; }; "tooltipTitle": { "alias": "tooltipTitle"; "required": false; }; "tooltipAppendToBody": { "alias": "tooltipAppendToBody"; "required": false; }; "tooltipSpacing": { "alias": "tooltipSpacing"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipShowCaret": { "alias": "tooltipShowCaret"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipAlignment": { "alias": "tooltipAlignment"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; "tooltipCloseOnClickOutside": { "alias": "tooltipCloseOnClickOutside"; "required": false; }; "tooltipCloseOnMouseLeave": { "alias": "tooltipCloseOnMouseLeave"; "required": false; }; "tooltipHideTimeout": { "alias": "tooltipHideTimeout"; "required": false; }; "tooltipShowTimeout": { "alias": "tooltipShowTimeout"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "tooltipShowEvent": { "alias": "tooltipShowEvent"; "required": false; }; "tooltipContext": { "alias": "tooltipContext"; "required": false; }; "tooltipImmediateExit": { "alias": "tooltipImmediateExit"; "required": false; }; }, { "show": "show"; "hide": "hide"; }, never, never, false, never>;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
declare class TooltipModule {
|
|
1098
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
|
|
1099
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof TooltipContentComponent, typeof TooltipDirective], [typeof i18.CommonModule], [typeof TooltipContentComponent, typeof TooltipDirective]>;
|
|
1100
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
declare class ChartCommonModule {
|
|
1104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartCommonModule, never>;
|
|
1105
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ChartCommonModule, [typeof AreaComponent, typeof BaseChartComponent, typeof CountUpDirective, typeof TooltipArea, typeof ChartComponent, typeof LegendComponent, typeof LegendEntryComponent, typeof ScaleLegendComponent, typeof CircleComponent, typeof CircleSeriesComponent, typeof GridPanelComponent, typeof GridPanelSeriesComponent, typeof SvgLinearGradientComponent, typeof SvgRadialGradientComponent, typeof Timeline, typeof AdvancedLegendComponent, typeof VisibilityObserver], [typeof i18.CommonModule, typeof AxesModule, typeof TooltipModule], [typeof i18.CommonModule, typeof AxesModule, typeof TooltipModule, typeof AreaComponent, typeof BaseChartComponent, typeof CountUpDirective, typeof TooltipArea, typeof ChartComponent, typeof LegendComponent, typeof LegendEntryComponent, typeof ScaleLegendComponent, typeof CircleComponent, typeof CircleSeriesComponent, typeof GridPanelComponent, typeof GridPanelSeriesComponent, typeof SvgLinearGradientComponent, typeof SvgRadialGradientComponent, typeof Timeline, typeof AdvancedLegendComponent, typeof VisibilityObserver]>;
|
|
1106
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ChartCommonModule>;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
declare class AreaChartComponent extends BaseChartComponent {
|
|
1110
|
+
legend: boolean;
|
|
1111
|
+
legendTitle: string;
|
|
1112
|
+
legendPosition: LegendPosition;
|
|
1113
|
+
xAxis: boolean;
|
|
1114
|
+
yAxis: boolean;
|
|
1115
|
+
baseValue: any;
|
|
1116
|
+
autoScale: boolean;
|
|
1117
|
+
showXAxisLabel: boolean;
|
|
1118
|
+
showYAxisLabel: boolean;
|
|
1119
|
+
xAxisLabel: string;
|
|
1120
|
+
yAxisLabel: string;
|
|
1121
|
+
timeline: boolean;
|
|
1122
|
+
gradient: boolean;
|
|
1123
|
+
showGridLines: boolean;
|
|
1124
|
+
curve: CurveFactory;
|
|
1125
|
+
activeEntries: any[];
|
|
1126
|
+
schemeType: ScaleType;
|
|
1127
|
+
trimXAxisTicks: boolean;
|
|
1128
|
+
trimYAxisTicks: boolean;
|
|
1129
|
+
rotateXAxisTicks: boolean;
|
|
1130
|
+
maxXAxisTickLength: number;
|
|
1131
|
+
maxYAxisTickLength: number;
|
|
1132
|
+
xAxisTickFormatting: any;
|
|
1133
|
+
yAxisTickFormatting: any;
|
|
1134
|
+
xAxisTicks: any[];
|
|
1135
|
+
yAxisTicks: any[];
|
|
1136
|
+
roundDomains: boolean;
|
|
1137
|
+
tooltipDisabled: boolean;
|
|
1138
|
+
referenceLines: any[];
|
|
1139
|
+
showRefLines: boolean;
|
|
1140
|
+
showRefLabels: boolean;
|
|
1141
|
+
xScaleMin: any;
|
|
1142
|
+
xScaleMax: any;
|
|
1143
|
+
yScaleMin: number;
|
|
1144
|
+
yScaleMax: number;
|
|
1145
|
+
wrapTicks: boolean;
|
|
1146
|
+
activate: EventEmitter<any>;
|
|
1147
|
+
deactivate: EventEmitter<any>;
|
|
1148
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1149
|
+
seriesTooltipTemplate: TemplateRef<any>;
|
|
1150
|
+
dims: ViewDimensions;
|
|
1151
|
+
xSet: any;
|
|
1152
|
+
xDomain: any[];
|
|
1153
|
+
yDomain: [number, number];
|
|
1154
|
+
seriesDomain: string[];
|
|
1155
|
+
xScale: any;
|
|
1156
|
+
yScale: any;
|
|
1157
|
+
transform: string;
|
|
1158
|
+
colors: ColorHelper;
|
|
1159
|
+
clipPathId: string;
|
|
1160
|
+
clipPath: string;
|
|
1161
|
+
scaleType: ScaleType;
|
|
1162
|
+
series: Series;
|
|
1163
|
+
margin: number[];
|
|
1164
|
+
hoveredVertical: any;
|
|
1165
|
+
xAxisHeight: number;
|
|
1166
|
+
yAxisWidth: number;
|
|
1167
|
+
filteredDomain: any;
|
|
1168
|
+
legendOptions: LegendOptions;
|
|
1169
|
+
timelineWidth: number;
|
|
1170
|
+
timelineHeight: number;
|
|
1171
|
+
timelineXScale: any;
|
|
1172
|
+
timelineYScale: any;
|
|
1173
|
+
timelineXDomain: any[];
|
|
1174
|
+
timelineTransform: any;
|
|
1175
|
+
timelinePadding: number;
|
|
1176
|
+
update(): void;
|
|
1177
|
+
updateTimeline(): void;
|
|
1178
|
+
getXDomain(): any[];
|
|
1179
|
+
getYDomain(): [number, number];
|
|
1180
|
+
getSeriesDomain(): string[];
|
|
1181
|
+
getXScale(domain: any, width: number): number;
|
|
1182
|
+
getYScale(domain: [number, number], height: number): any;
|
|
1183
|
+
getScaleType(values: any): ScaleType;
|
|
1184
|
+
updateDomain(domain: any): void;
|
|
1185
|
+
updateHoveredVertical(item: any): void;
|
|
1186
|
+
hideCircles(): void;
|
|
1187
|
+
onClick(data: any, series?: Series): void;
|
|
1188
|
+
trackBy: TrackByFunction<Series>;
|
|
1189
|
+
setColors(): void;
|
|
1190
|
+
getLegendOptions(): LegendOptions;
|
|
1191
|
+
updateYAxisWidth({ width }: {
|
|
1192
|
+
width: number;
|
|
1193
|
+
}): void;
|
|
1194
|
+
updateXAxisHeight({ height }: {
|
|
1195
|
+
height: number;
|
|
1196
|
+
}): void;
|
|
1197
|
+
onActivate(item: any): void;
|
|
1198
|
+
onDeactivate(item: any): void;
|
|
1199
|
+
deactivateAll(): void;
|
|
1200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartComponent, never>;
|
|
1201
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartComponent, "ngx-charts-area-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; }; "baseValue": { "alias": "baseValue"; "required": false; }; "autoScale": { "alias": "autoScale"; "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; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "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>;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
declare class AreaChartNormalizedComponent extends BaseChartComponent {
|
|
1205
|
+
legend: boolean;
|
|
1206
|
+
legendTitle: string;
|
|
1207
|
+
legendPosition: LegendPosition;
|
|
1208
|
+
xAxis: boolean;
|
|
1209
|
+
yAxis: boolean;
|
|
1210
|
+
showXAxisLabel: boolean;
|
|
1211
|
+
showYAxisLabel: boolean;
|
|
1212
|
+
xAxisLabel: string;
|
|
1213
|
+
yAxisLabel: string;
|
|
1214
|
+
timeline: any;
|
|
1215
|
+
gradient: any;
|
|
1216
|
+
showGridLines: boolean;
|
|
1217
|
+
curve: any;
|
|
1218
|
+
activeEntries: any[];
|
|
1219
|
+
schemeType: ScaleType;
|
|
1220
|
+
trimXAxisTicks: boolean;
|
|
1221
|
+
trimYAxisTicks: boolean;
|
|
1222
|
+
rotateXAxisTicks: boolean;
|
|
1223
|
+
maxXAxisTickLength: number;
|
|
1224
|
+
maxYAxisTickLength: number;
|
|
1225
|
+
xAxisTickFormatting: any;
|
|
1226
|
+
yAxisTickFormatting: any;
|
|
1227
|
+
xAxisTicks: any[];
|
|
1228
|
+
yAxisTicks: any[];
|
|
1229
|
+
roundDomains: boolean;
|
|
1230
|
+
tooltipDisabled: boolean;
|
|
1231
|
+
wrapTicks: boolean;
|
|
1232
|
+
activate: EventEmitter<any>;
|
|
1233
|
+
deactivate: EventEmitter<any>;
|
|
1234
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1235
|
+
seriesTooltipTemplate: TemplateRef<any>;
|
|
1236
|
+
dims: ViewDimensions;
|
|
1237
|
+
scaleType: ScaleType;
|
|
1238
|
+
xDomain: any[];
|
|
1239
|
+
xSet: any[];
|
|
1240
|
+
yDomain: [number, number];
|
|
1241
|
+
seriesDomain: any;
|
|
1242
|
+
xScale: any;
|
|
1243
|
+
yScale: any;
|
|
1244
|
+
transform: string;
|
|
1245
|
+
clipPathId: string;
|
|
1246
|
+
clipPath: string;
|
|
1247
|
+
colors: ColorHelper;
|
|
1248
|
+
margin: number[];
|
|
1249
|
+
tooltipAreas: any[];
|
|
1250
|
+
hoveredVertical: any;
|
|
1251
|
+
xAxisHeight: number;
|
|
1252
|
+
yAxisWidth: number;
|
|
1253
|
+
filteredDomain: any;
|
|
1254
|
+
legendOptions: LegendOptions;
|
|
1255
|
+
seriesType: typeof SeriesType;
|
|
1256
|
+
timelineWidth: any;
|
|
1257
|
+
timelineHeight: number;
|
|
1258
|
+
timelineXScale: any;
|
|
1259
|
+
timelineYScale: any;
|
|
1260
|
+
timelineXDomain: any;
|
|
1261
|
+
timelineTransform: any;
|
|
1262
|
+
timelinePadding: number;
|
|
1263
|
+
update(): void;
|
|
1264
|
+
updateTimeline(): void;
|
|
1265
|
+
getXDomain(): any[];
|
|
1266
|
+
getSeriesDomain(): string[];
|
|
1267
|
+
getXScale(domain: any, width: number): any;
|
|
1268
|
+
getYScale(domain: any, height: number): any;
|
|
1269
|
+
updateDomain(domain: any): void;
|
|
1270
|
+
updateHoveredVertical(item: any): void;
|
|
1271
|
+
hideCircles(): void;
|
|
1272
|
+
onClick(data: any, series?: any): void;
|
|
1273
|
+
trackBy: TrackByFunction<Series>;
|
|
1274
|
+
setColors(): void;
|
|
1275
|
+
getLegendOptions(): LegendOptions;
|
|
1276
|
+
updateYAxisWidth({ width }: {
|
|
1277
|
+
width: number;
|
|
1278
|
+
}): void;
|
|
1279
|
+
updateXAxisHeight({ height }: {
|
|
1280
|
+
height: number;
|
|
1281
|
+
}): void;
|
|
1282
|
+
onActivate(item: any): void;
|
|
1283
|
+
onDeactivate(item: any): void;
|
|
1284
|
+
deactivateAll(): void;
|
|
1285
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartNormalizedComponent, never>;
|
|
1286
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartNormalizedComponent, "ngx-charts-area-chart-normalized", 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; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate", "seriesTooltipTemplate"], never, false, never>;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
declare class AreaChartStackedComponent extends BaseChartComponent {
|
|
1290
|
+
legend: boolean;
|
|
1291
|
+
legendTitle: string;
|
|
1292
|
+
legendPosition: LegendPosition;
|
|
1293
|
+
xAxis: boolean;
|
|
1294
|
+
yAxis: boolean;
|
|
1295
|
+
showXAxisLabel: boolean;
|
|
1296
|
+
showYAxisLabel: boolean;
|
|
1297
|
+
xAxisLabel: string;
|
|
1298
|
+
yAxisLabel: string;
|
|
1299
|
+
timeline: boolean;
|
|
1300
|
+
gradient: boolean;
|
|
1301
|
+
showGridLines: boolean;
|
|
1302
|
+
curve: any;
|
|
1303
|
+
activeEntries: any[];
|
|
1304
|
+
schemeType: ScaleType;
|
|
1305
|
+
trimXAxisTicks: boolean;
|
|
1306
|
+
trimYAxisTicks: boolean;
|
|
1307
|
+
rotateXAxisTicks: boolean;
|
|
1308
|
+
maxXAxisTickLength: number;
|
|
1309
|
+
maxYAxisTickLength: number;
|
|
1310
|
+
xAxisTickFormatting: any;
|
|
1311
|
+
yAxisTickFormatting: any;
|
|
1312
|
+
xAxisTicks: any[];
|
|
1313
|
+
yAxisTicks: any[];
|
|
1314
|
+
roundDomains: boolean;
|
|
1315
|
+
tooltipDisabled: boolean;
|
|
1316
|
+
xScaleMin: any;
|
|
1317
|
+
xScaleMax: any;
|
|
1318
|
+
yScaleMin: number;
|
|
1319
|
+
yScaleMax: number;
|
|
1320
|
+
wrapTicks: boolean;
|
|
1321
|
+
activate: EventEmitter<any>;
|
|
1322
|
+
deactivate: EventEmitter<any>;
|
|
1323
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1324
|
+
seriesTooltipTemplate: TemplateRef<any>;
|
|
1325
|
+
dims: ViewDimensions;
|
|
1326
|
+
scaleType: ScaleType;
|
|
1327
|
+
xDomain: any[];
|
|
1328
|
+
xSet: any[];
|
|
1329
|
+
yDomain: [number, number];
|
|
1330
|
+
seriesDomain: any;
|
|
1331
|
+
xScale: any;
|
|
1332
|
+
yScale: any;
|
|
1333
|
+
transform: string;
|
|
1334
|
+
clipPathId: string;
|
|
1335
|
+
clipPath: string;
|
|
1336
|
+
colors: ColorHelper;
|
|
1337
|
+
margin: number[];
|
|
1338
|
+
hoveredVertical: any;
|
|
1339
|
+
xAxisHeight: number;
|
|
1340
|
+
yAxisWidth: number;
|
|
1341
|
+
filteredDomain: any;
|
|
1342
|
+
legendOptions: any;
|
|
1343
|
+
timelineWidth: number;
|
|
1344
|
+
timelineHeight: number;
|
|
1345
|
+
timelineXScale: any;
|
|
1346
|
+
timelineYScale: any;
|
|
1347
|
+
timelineXDomain: any;
|
|
1348
|
+
timelineTransform: any;
|
|
1349
|
+
timelinePadding: number;
|
|
1350
|
+
seriesType: typeof SeriesType;
|
|
1351
|
+
update(): void;
|
|
1352
|
+
updateTimeline(): void;
|
|
1353
|
+
getXDomain(): any[];
|
|
1354
|
+
getYDomain(): [number, number];
|
|
1355
|
+
getSeriesDomain(): string[];
|
|
1356
|
+
getXScale(domain: any, width: number): any;
|
|
1357
|
+
getYScale(domain: any, height: number): any;
|
|
1358
|
+
updateDomain(domain: any): void;
|
|
1359
|
+
updateHoveredVertical(item: any): void;
|
|
1360
|
+
hideCircles(): void;
|
|
1361
|
+
onClick(data: any, series?: any): void;
|
|
1362
|
+
trackBy(index: any, item: any): string;
|
|
1363
|
+
setColors(): void;
|
|
1364
|
+
getLegendOptions(): LegendOptions;
|
|
1365
|
+
updateYAxisWidth({ width }: {
|
|
1366
|
+
width: number;
|
|
1367
|
+
}): void;
|
|
1368
|
+
updateXAxisHeight({ height }: {
|
|
1369
|
+
height: number;
|
|
1370
|
+
}): void;
|
|
1371
|
+
onActivate(item: any): void;
|
|
1372
|
+
onDeactivate(item: any): void;
|
|
1373
|
+
deactivateAll(): void;
|
|
1374
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartStackedComponent, never>;
|
|
1375
|
+
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>;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
declare class AreaSeriesComponent implements OnChanges {
|
|
1379
|
+
data: AreaChartSeries;
|
|
1380
|
+
xScale: any;
|
|
1381
|
+
yScale: any;
|
|
1382
|
+
baseValue: any;
|
|
1383
|
+
colors: ColorHelper;
|
|
1384
|
+
scaleType: ScaleType;
|
|
1385
|
+
stacked: boolean;
|
|
1386
|
+
normalized: boolean;
|
|
1387
|
+
gradient: boolean;
|
|
1388
|
+
curve: any;
|
|
1389
|
+
activeEntries: any[];
|
|
1390
|
+
animations: boolean;
|
|
1391
|
+
select: EventEmitter<any>;
|
|
1392
|
+
opacity: number;
|
|
1393
|
+
path: string;
|
|
1394
|
+
startingPath: string;
|
|
1395
|
+
hasGradient: boolean;
|
|
1396
|
+
gradientStops: Gradient[];
|
|
1397
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1398
|
+
update(): void;
|
|
1399
|
+
updateGradient(): void;
|
|
1400
|
+
isActive(entry: any): boolean;
|
|
1401
|
+
isInactive(entry: any): boolean;
|
|
1402
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AreaSeriesComponent, never>;
|
|
1403
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AreaSeriesComponent, "g[ngx-charts-area-series]", never, { "data": { "alias": "data"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "baseValue": { "alias": "baseValue"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "normalized": { "alias": "normalized"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
declare class AreaChartModule {
|
|
1407
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartModule, never>;
|
|
1408
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AreaChartModule, [typeof AreaChartComponent, typeof AreaChartNormalizedComponent, typeof AreaChartStackedComponent, typeof AreaSeriesComponent], [typeof ChartCommonModule], [typeof AreaChartComponent, typeof AreaChartNormalizedComponent, typeof AreaChartStackedComponent, typeof AreaSeriesComponent]>;
|
|
1409
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AreaChartModule>;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
declare class BarComponent implements OnChanges {
|
|
1413
|
+
fill: string;
|
|
1414
|
+
data: DataItem;
|
|
1415
|
+
width: number;
|
|
1416
|
+
height: number;
|
|
1417
|
+
x: number;
|
|
1418
|
+
y: number;
|
|
1419
|
+
orientation: BarOrientation;
|
|
1420
|
+
roundEdges: boolean;
|
|
1421
|
+
gradient: boolean;
|
|
1422
|
+
offset: number;
|
|
1423
|
+
isActive: boolean;
|
|
1424
|
+
stops: Gradient[];
|
|
1425
|
+
animations: boolean;
|
|
1426
|
+
ariaLabel: string;
|
|
1427
|
+
noBarWhenZero: boolean;
|
|
1428
|
+
select: EventEmitter<DataItem>;
|
|
1429
|
+
activate: EventEmitter<DataItem>;
|
|
1430
|
+
deactivate: EventEmitter<DataItem>;
|
|
1431
|
+
element: HTMLElement;
|
|
1432
|
+
path: string;
|
|
1433
|
+
gradientId: string;
|
|
1434
|
+
gradientFill: string;
|
|
1435
|
+
gradientStops: Gradient[];
|
|
1436
|
+
hasGradient: boolean;
|
|
1437
|
+
hideBar: boolean;
|
|
1438
|
+
constructor(element: ElementRef);
|
|
1439
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1440
|
+
update(): void;
|
|
1441
|
+
loadAnimation(): void;
|
|
1442
|
+
updatePathEl(): void;
|
|
1443
|
+
getGradient(): Gradient[];
|
|
1444
|
+
getStartingPath(): string;
|
|
1445
|
+
getPath(): string;
|
|
1446
|
+
getRadius(): number;
|
|
1447
|
+
getStartOpacity(): number;
|
|
1448
|
+
get edges(): boolean[];
|
|
1449
|
+
onMouseEnter(): void;
|
|
1450
|
+
onMouseLeave(): void;
|
|
1451
|
+
private checkToHideBar;
|
|
1452
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarComponent, never>;
|
|
1453
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarComponent, "g[ngx-charts-bar]", never, { "fill": { "alias": "fill"; "required": false; }; "data": { "alias": "data"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "stops": { "alias": "stops"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
declare class BarHorizontalComponent extends BaseChartComponent {
|
|
1457
|
+
legend: boolean;
|
|
1458
|
+
legendTitle: string;
|
|
1459
|
+
legendPosition: LegendPosition;
|
|
1460
|
+
xAxis: any;
|
|
1461
|
+
yAxis: any;
|
|
1462
|
+
showXAxisLabel: boolean;
|
|
1463
|
+
showYAxisLabel: boolean;
|
|
1464
|
+
xAxisLabel: string;
|
|
1465
|
+
yAxisLabel: string;
|
|
1466
|
+
tooltipDisabled: boolean;
|
|
1467
|
+
referenceLines: any;
|
|
1468
|
+
showRefLines: boolean;
|
|
1469
|
+
showRefLabels: boolean;
|
|
1470
|
+
gradient: boolean;
|
|
1471
|
+
showGridLines: boolean;
|
|
1472
|
+
activeEntries: any[];
|
|
1473
|
+
schemeType: ScaleType;
|
|
1474
|
+
trimXAxisTicks: boolean;
|
|
1475
|
+
trimYAxisTicks: boolean;
|
|
1476
|
+
rotateXAxisTicks: boolean;
|
|
1477
|
+
maxXAxisTickLength: number;
|
|
1478
|
+
maxYAxisTickLength: number;
|
|
1479
|
+
xAxisTickFormatting: any;
|
|
1480
|
+
yAxisTickFormatting: any;
|
|
1481
|
+
xAxisTicks: any[];
|
|
1482
|
+
yAxisTicks: any[];
|
|
1483
|
+
barPadding: number;
|
|
1484
|
+
roundDomains: boolean;
|
|
1485
|
+
roundEdges: boolean;
|
|
1486
|
+
xScaleMax: number;
|
|
1487
|
+
xScaleMin: number;
|
|
1488
|
+
showDataLabel: boolean;
|
|
1489
|
+
dataLabelFormatting: any;
|
|
1490
|
+
noBarWhenZero: boolean;
|
|
1491
|
+
wrapTicks: boolean;
|
|
1492
|
+
activate: EventEmitter<any>;
|
|
1493
|
+
deactivate: EventEmitter<any>;
|
|
1494
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1495
|
+
dims: ViewDimensions;
|
|
1496
|
+
yScale: any;
|
|
1497
|
+
xScale: any;
|
|
1498
|
+
xDomain: [number, number];
|
|
1499
|
+
yDomain: string[];
|
|
1500
|
+
transform: string;
|
|
1501
|
+
colors: ColorHelper;
|
|
1502
|
+
margin: number[];
|
|
1503
|
+
xAxisHeight: number;
|
|
1504
|
+
yAxisWidth: number;
|
|
1505
|
+
legendOptions: LegendOptions;
|
|
1506
|
+
dataLabelMaxWidth: any;
|
|
1507
|
+
ngOnChanges(): void;
|
|
1508
|
+
update(): void;
|
|
1509
|
+
getXScale(): any;
|
|
1510
|
+
getYScale(): any;
|
|
1511
|
+
getXDomain(): [number, number];
|
|
1512
|
+
getYDomain(): string[];
|
|
1513
|
+
onClick(data: any): void;
|
|
1514
|
+
setColors(): void;
|
|
1515
|
+
getLegendOptions(): LegendOptions;
|
|
1516
|
+
updateYAxisWidth({ width }: {
|
|
1517
|
+
width: number;
|
|
1518
|
+
}): void;
|
|
1519
|
+
updateXAxisHeight({ height }: {
|
|
1520
|
+
height: number;
|
|
1521
|
+
}): void;
|
|
1522
|
+
onDataLabelMaxWidthChanged(event: any): void;
|
|
1523
|
+
onActivate(item: any, fromLegend?: boolean): void;
|
|
1524
|
+
onDeactivate(item: any, fromLegend?: boolean): void;
|
|
1525
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarHorizontalComponent, never>;
|
|
1526
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarHorizontalComponent, "ngx-charts-bar-horizontal", 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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "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; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "xScaleMax": { "alias": "xScaleMax"; "required": false; }; "xScaleMin": { "alias": "xScaleMin"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
declare class BarHorizontal2DComponent extends BaseChartComponent {
|
|
1530
|
+
legend: boolean;
|
|
1531
|
+
legendTitle: string;
|
|
1532
|
+
legendPosition: LegendPosition;
|
|
1533
|
+
xAxis: any;
|
|
1534
|
+
yAxis: any;
|
|
1535
|
+
showXAxisLabel: boolean;
|
|
1536
|
+
showYAxisLabel: boolean;
|
|
1537
|
+
xAxisLabel: string;
|
|
1538
|
+
yAxisLabel: string;
|
|
1539
|
+
tooltipDisabled: boolean;
|
|
1540
|
+
gradient: boolean;
|
|
1541
|
+
showGridLines: boolean;
|
|
1542
|
+
activeEntries: any[];
|
|
1543
|
+
schemeType: ScaleType;
|
|
1544
|
+
trimXAxisTicks: boolean;
|
|
1545
|
+
trimYAxisTicks: boolean;
|
|
1546
|
+
rotateXAxisTicks: boolean;
|
|
1547
|
+
maxXAxisTickLength: number;
|
|
1548
|
+
maxYAxisTickLength: number;
|
|
1549
|
+
xAxisTickFormatting: any;
|
|
1550
|
+
yAxisTickFormatting: any;
|
|
1551
|
+
xAxisTicks: any[];
|
|
1552
|
+
yAxisTicks: any[];
|
|
1553
|
+
groupPadding: number;
|
|
1554
|
+
barPadding: number;
|
|
1555
|
+
roundDomains: boolean;
|
|
1556
|
+
roundEdges: boolean;
|
|
1557
|
+
xScaleMax: number;
|
|
1558
|
+
showDataLabel: boolean;
|
|
1559
|
+
dataLabelFormatting: any;
|
|
1560
|
+
noBarWhenZero: boolean;
|
|
1561
|
+
wrapTicks: boolean;
|
|
1562
|
+
activate: EventEmitter<any>;
|
|
1563
|
+
deactivate: EventEmitter<any>;
|
|
1564
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1565
|
+
dims: ViewDimensions;
|
|
1566
|
+
groupDomain: string[];
|
|
1567
|
+
innerDomain: string[];
|
|
1568
|
+
valueDomain: [number, number];
|
|
1569
|
+
groupScale: any;
|
|
1570
|
+
innerScale: any;
|
|
1571
|
+
valueScale: any;
|
|
1572
|
+
transform: string;
|
|
1573
|
+
colors: ColorHelper;
|
|
1574
|
+
margin: number[];
|
|
1575
|
+
xAxisHeight: number;
|
|
1576
|
+
yAxisWidth: number;
|
|
1577
|
+
legendOptions: LegendOptions;
|
|
1578
|
+
dataLabelMaxWidth: any;
|
|
1579
|
+
isSSR: boolean;
|
|
1580
|
+
barOrientation: typeof BarOrientation;
|
|
1581
|
+
ngOnInit(): void;
|
|
1582
|
+
ngOnChanges(): void;
|
|
1583
|
+
update(): void;
|
|
1584
|
+
getGroupScale(): any;
|
|
1585
|
+
getInnerScale(): any;
|
|
1586
|
+
getValueScale(): any;
|
|
1587
|
+
getGroupDomain(): string[];
|
|
1588
|
+
getInnerDomain(): string[];
|
|
1589
|
+
getValueDomain(): [number, number];
|
|
1590
|
+
groupTransform(group: DataItem): string;
|
|
1591
|
+
onClick(data: any, group?: DataItem): void;
|
|
1592
|
+
trackBy: TrackByFunction<DataItem>;
|
|
1593
|
+
setColors(): void;
|
|
1594
|
+
getLegendOptions(): LegendOptions;
|
|
1595
|
+
updateYAxisWidth({ width }: {
|
|
1596
|
+
width: number;
|
|
1597
|
+
}): void;
|
|
1598
|
+
updateXAxisHeight({ height }: {
|
|
1599
|
+
height: number;
|
|
1600
|
+
}): void;
|
|
1601
|
+
onDataLabelMaxWidthChanged(event: any, groupIndex: number): void;
|
|
1602
|
+
onActivate(event: any, group: DataItem, fromLegend?: boolean): void;
|
|
1603
|
+
onDeactivate(event: any, group: DataItem, fromLegend?: boolean): void;
|
|
1604
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarHorizontal2DComponent, never>;
|
|
1605
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarHorizontal2DComponent, "ngx-charts-bar-horizontal-2d", 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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "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; }; "groupPadding": { "alias": "groupPadding"; "required": false; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "xScaleMax": { "alias": "xScaleMax"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
declare enum BarChartType {
|
|
1609
|
+
Standard = "standard",
|
|
1610
|
+
Normalized = "normalized",
|
|
1611
|
+
Stacked = "stacked"
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
declare class BarHorizontalNormalizedComponent extends BaseChartComponent {
|
|
1615
|
+
legend: boolean;
|
|
1616
|
+
legendTitle: string;
|
|
1617
|
+
legendPosition: LegendPosition;
|
|
1618
|
+
xAxis: any;
|
|
1619
|
+
yAxis: any;
|
|
1620
|
+
showXAxisLabel: boolean;
|
|
1621
|
+
showYAxisLabel: boolean;
|
|
1622
|
+
xAxisLabel: string;
|
|
1623
|
+
yAxisLabel: string;
|
|
1624
|
+
tooltipDisabled: boolean;
|
|
1625
|
+
gradient: boolean;
|
|
1626
|
+
showGridLines: boolean;
|
|
1627
|
+
activeEntries: any[];
|
|
1628
|
+
schemeType: ScaleType;
|
|
1629
|
+
trimXAxisTicks: boolean;
|
|
1630
|
+
trimYAxisTicks: boolean;
|
|
1631
|
+
rotateXAxisTicks: boolean;
|
|
1632
|
+
maxXAxisTickLength: number;
|
|
1633
|
+
maxYAxisTickLength: number;
|
|
1634
|
+
xAxisTickFormatting: any;
|
|
1635
|
+
yAxisTickFormatting: any;
|
|
1636
|
+
xAxisTicks: any[];
|
|
1637
|
+
yAxisTicks: any[];
|
|
1638
|
+
barPadding: number;
|
|
1639
|
+
roundDomains: boolean;
|
|
1640
|
+
noBarWhenZero: boolean;
|
|
1641
|
+
wrapTicks: boolean;
|
|
1642
|
+
activate: EventEmitter<any>;
|
|
1643
|
+
deactivate: EventEmitter<any>;
|
|
1644
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1645
|
+
dims: ViewDimensions;
|
|
1646
|
+
groupDomain: string[];
|
|
1647
|
+
innerDomain: string[];
|
|
1648
|
+
valueDomain: [number, number];
|
|
1649
|
+
xScale: any;
|
|
1650
|
+
yScale: any;
|
|
1651
|
+
transform: string;
|
|
1652
|
+
colors: ColorHelper;
|
|
1653
|
+
margin: number[];
|
|
1654
|
+
xAxisHeight: number;
|
|
1655
|
+
yAxisWidth: number;
|
|
1656
|
+
legendOptions: LegendOptions;
|
|
1657
|
+
barChartType: typeof BarChartType;
|
|
1658
|
+
isSSR: boolean;
|
|
1659
|
+
ngOnInit(): void;
|
|
1660
|
+
update(): void;
|
|
1661
|
+
getGroupDomain(): string[];
|
|
1662
|
+
getInnerDomain(): string[];
|
|
1663
|
+
getYScale(): any;
|
|
1664
|
+
getXScale(): any;
|
|
1665
|
+
groupTransform(group: Series): string;
|
|
1666
|
+
onClick(data: any, group?: Series): void;
|
|
1667
|
+
trackBy: TrackByFunction<Series>;
|
|
1668
|
+
setColors(): void;
|
|
1669
|
+
getLegendOptions(): LegendOptions;
|
|
1670
|
+
updateYAxisWidth({ width }: {
|
|
1671
|
+
width: number;
|
|
1672
|
+
}): void;
|
|
1673
|
+
updateXAxisHeight({ height }: {
|
|
1674
|
+
height: number;
|
|
1675
|
+
}): void;
|
|
1676
|
+
onActivate(event: any, group: Series, fromLegend?: boolean): void;
|
|
1677
|
+
onDeactivate(event: any, group: Series, fromLegend?: boolean): void;
|
|
1678
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarHorizontalNormalizedComponent, never>;
|
|
1679
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarHorizontalNormalizedComponent, "ngx-charts-bar-horizontal-normalized", 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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "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; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
declare class BarHorizontalStackedComponent extends BaseChartComponent {
|
|
1683
|
+
legend: boolean;
|
|
1684
|
+
legendTitle: string;
|
|
1685
|
+
legendPosition: LegendPosition;
|
|
1686
|
+
xAxis: any;
|
|
1687
|
+
yAxis: any;
|
|
1688
|
+
showXAxisLabel: boolean;
|
|
1689
|
+
showYAxisLabel: boolean;
|
|
1690
|
+
xAxisLabel: string;
|
|
1691
|
+
yAxisLabel: string;
|
|
1692
|
+
tooltipDisabled: boolean;
|
|
1693
|
+
gradient: boolean;
|
|
1694
|
+
showGridLines: boolean;
|
|
1695
|
+
activeEntries: any[];
|
|
1696
|
+
schemeType: ScaleType;
|
|
1697
|
+
trimXAxisTicks: boolean;
|
|
1698
|
+
trimYAxisTicks: boolean;
|
|
1699
|
+
rotateXAxisTicks: boolean;
|
|
1700
|
+
maxXAxisTickLength: number;
|
|
1701
|
+
maxYAxisTickLength: number;
|
|
1702
|
+
xAxisTickFormatting: any;
|
|
1703
|
+
yAxisTickFormatting: any;
|
|
1704
|
+
xAxisTicks: any[];
|
|
1705
|
+
yAxisTicks: any[];
|
|
1706
|
+
barPadding: number;
|
|
1707
|
+
roundDomains: boolean;
|
|
1708
|
+
xScaleMax: number;
|
|
1709
|
+
showDataLabel: boolean;
|
|
1710
|
+
dataLabelFormatting: any;
|
|
1711
|
+
noBarWhenZero: boolean;
|
|
1712
|
+
wrapTicks: boolean;
|
|
1713
|
+
activate: EventEmitter<any>;
|
|
1714
|
+
deactivate: EventEmitter<any>;
|
|
1715
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1716
|
+
dims: ViewDimensions;
|
|
1717
|
+
groupDomain: string[];
|
|
1718
|
+
innerDomain: string[];
|
|
1719
|
+
valueDomain: [number, number];
|
|
1720
|
+
xScale: any;
|
|
1721
|
+
yScale: any;
|
|
1722
|
+
transform: string;
|
|
1723
|
+
colors: ColorHelper;
|
|
1724
|
+
margin: number[];
|
|
1725
|
+
xAxisHeight: number;
|
|
1726
|
+
yAxisWidth: number;
|
|
1727
|
+
legendOptions: LegendOptions;
|
|
1728
|
+
dataLabelMaxWidth: any;
|
|
1729
|
+
barChartType: typeof BarChartType;
|
|
1730
|
+
isSSR: boolean;
|
|
1731
|
+
ngOnInit(): void;
|
|
1732
|
+
update(): void;
|
|
1733
|
+
getGroupDomain(): string[];
|
|
1734
|
+
getInnerDomain(): string[];
|
|
1735
|
+
getValueDomain(): [number, number];
|
|
1736
|
+
getYScale(): any;
|
|
1737
|
+
getXScale(): any;
|
|
1738
|
+
groupTransform(group: Series): string;
|
|
1739
|
+
onClick(data: any, group?: Series): void;
|
|
1740
|
+
trackBy: TrackByFunction<Series>;
|
|
1741
|
+
setColors(): void;
|
|
1742
|
+
getLegendOptions(): LegendOptions;
|
|
1743
|
+
updateYAxisWidth({ width }: {
|
|
1744
|
+
width: number;
|
|
1745
|
+
}): void;
|
|
1746
|
+
updateXAxisHeight({ height }: {
|
|
1747
|
+
height: number;
|
|
1748
|
+
}): void;
|
|
1749
|
+
onDataLabelMaxWidthChanged(event: any, groupIndex: number): void;
|
|
1750
|
+
onActivate(event: any, group: Series, fromLegend?: boolean): void;
|
|
1751
|
+
onDeactivate(event: any, group: Series, fromLegend?: boolean): void;
|
|
1752
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarHorizontalStackedComponent, never>;
|
|
1753
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarHorizontalStackedComponent, "ngx-charts-bar-horizontal-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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "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; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "xScaleMax": { "alias": "xScaleMax"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
declare class BarVerticalComponent extends BaseChartComponent {
|
|
1757
|
+
legend: boolean;
|
|
1758
|
+
legendTitle: string;
|
|
1759
|
+
legendPosition: LegendPosition;
|
|
1760
|
+
xAxis: any;
|
|
1761
|
+
yAxis: any;
|
|
1762
|
+
showXAxisLabel: boolean;
|
|
1763
|
+
showYAxisLabel: boolean;
|
|
1764
|
+
xAxisLabel: string;
|
|
1765
|
+
yAxisLabel: string;
|
|
1766
|
+
tooltipDisabled: boolean;
|
|
1767
|
+
gradient: boolean;
|
|
1768
|
+
referenceLines: any[];
|
|
1769
|
+
showRefLines: any;
|
|
1770
|
+
showRefLabels: any;
|
|
1771
|
+
showGridLines: boolean;
|
|
1772
|
+
activeEntries: any[];
|
|
1773
|
+
schemeType: ScaleType;
|
|
1774
|
+
trimXAxisTicks: boolean;
|
|
1775
|
+
trimYAxisTicks: boolean;
|
|
1776
|
+
rotateXAxisTicks: boolean;
|
|
1777
|
+
maxXAxisTickLength: number;
|
|
1778
|
+
maxYAxisTickLength: number;
|
|
1779
|
+
xAxisTickFormatting: any;
|
|
1780
|
+
yAxisTickFormatting: any;
|
|
1781
|
+
xAxisTicks: any[];
|
|
1782
|
+
yAxisTicks: any[];
|
|
1783
|
+
barPadding: number;
|
|
1784
|
+
roundDomains: boolean;
|
|
1785
|
+
roundEdges: boolean;
|
|
1786
|
+
yScaleMax: number;
|
|
1787
|
+
yScaleMin: number;
|
|
1788
|
+
showDataLabel: boolean;
|
|
1789
|
+
dataLabelFormatting: any;
|
|
1790
|
+
noBarWhenZero: boolean;
|
|
1791
|
+
wrapTicks: boolean;
|
|
1792
|
+
activate: EventEmitter<any>;
|
|
1793
|
+
deactivate: EventEmitter<any>;
|
|
1794
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1795
|
+
dims: ViewDimensions;
|
|
1796
|
+
xScale: any;
|
|
1797
|
+
yScale: any;
|
|
1798
|
+
xDomain: any;
|
|
1799
|
+
yDomain: any;
|
|
1800
|
+
transform: string;
|
|
1801
|
+
colors: ColorHelper;
|
|
1802
|
+
margin: number[];
|
|
1803
|
+
xAxisHeight: number;
|
|
1804
|
+
yAxisWidth: number;
|
|
1805
|
+
legendOptions: LegendOptions;
|
|
1806
|
+
dataLabelMaxHeight: any;
|
|
1807
|
+
ngOnChanges(): void;
|
|
1808
|
+
update(): void;
|
|
1809
|
+
getXScale(): any;
|
|
1810
|
+
getYScale(): any;
|
|
1811
|
+
getXDomain(): any[];
|
|
1812
|
+
getYDomain(): [number, number];
|
|
1813
|
+
onClick(data: DataItem | string): void;
|
|
1814
|
+
setColors(): void;
|
|
1815
|
+
getLegendOptions(): {
|
|
1816
|
+
scaleType: any;
|
|
1817
|
+
colors: any;
|
|
1818
|
+
domain: any[];
|
|
1819
|
+
title: any;
|
|
1820
|
+
position: LegendPosition;
|
|
1821
|
+
};
|
|
1822
|
+
updateYAxisWidth({ width }: {
|
|
1823
|
+
width: any;
|
|
1824
|
+
}): void;
|
|
1825
|
+
updateXAxisHeight({ height }: {
|
|
1826
|
+
height: any;
|
|
1827
|
+
}): void;
|
|
1828
|
+
onDataLabelMaxHeightChanged(event: any): void;
|
|
1829
|
+
onActivate(item: any, fromLegend?: boolean): void;
|
|
1830
|
+
onDeactivate(item: any, fromLegend?: boolean): void;
|
|
1831
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarVerticalComponent, never>;
|
|
1832
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarVerticalComponent, "ngx-charts-bar-vertical", 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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "referenceLines": { "alias": "referenceLines"; "required": false; }; "showRefLines": { "alias": "showRefLines"; "required": false; }; "showRefLabels": { "alias": "showRefLabels"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "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; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "yScaleMax": { "alias": "yScaleMax"; "required": false; }; "yScaleMin": { "alias": "yScaleMin"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
declare class BarVertical2DComponent extends BaseChartComponent {
|
|
1836
|
+
legend: boolean;
|
|
1837
|
+
legendTitle: string;
|
|
1838
|
+
legendPosition: LegendPosition;
|
|
1839
|
+
xAxis: any;
|
|
1840
|
+
yAxis: any;
|
|
1841
|
+
showXAxisLabel: boolean;
|
|
1842
|
+
showYAxisLabel: boolean;
|
|
1843
|
+
xAxisLabel: string;
|
|
1844
|
+
yAxisLabel: string;
|
|
1845
|
+
tooltipDisabled: boolean;
|
|
1846
|
+
scaleType: ScaleType;
|
|
1847
|
+
gradient: boolean;
|
|
1848
|
+
showGridLines: boolean;
|
|
1849
|
+
activeEntries: any[];
|
|
1850
|
+
schemeType: ScaleType;
|
|
1851
|
+
trimXAxisTicks: boolean;
|
|
1852
|
+
trimYAxisTicks: boolean;
|
|
1853
|
+
rotateXAxisTicks: boolean;
|
|
1854
|
+
maxXAxisTickLength: number;
|
|
1855
|
+
maxYAxisTickLength: number;
|
|
1856
|
+
xAxisTickFormatting: any;
|
|
1857
|
+
yAxisTickFormatting: any;
|
|
1858
|
+
xAxisTicks: any[];
|
|
1859
|
+
yAxisTicks: any[];
|
|
1860
|
+
groupPadding: number;
|
|
1861
|
+
barPadding: number;
|
|
1862
|
+
roundDomains: boolean;
|
|
1863
|
+
roundEdges: boolean;
|
|
1864
|
+
yScaleMax: number;
|
|
1865
|
+
showDataLabel: boolean;
|
|
1866
|
+
dataLabelFormatting: any;
|
|
1867
|
+
noBarWhenZero: boolean;
|
|
1868
|
+
wrapTicks: boolean;
|
|
1869
|
+
activate: EventEmitter<any>;
|
|
1870
|
+
deactivate: EventEmitter<any>;
|
|
1871
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1872
|
+
dims: ViewDimensions;
|
|
1873
|
+
groupDomain: string[];
|
|
1874
|
+
innerDomain: string[];
|
|
1875
|
+
valueDomain: [number, number];
|
|
1876
|
+
groupScale: any;
|
|
1877
|
+
innerScale: any;
|
|
1878
|
+
valueScale: any;
|
|
1879
|
+
transform: string;
|
|
1880
|
+
colors: ColorHelper;
|
|
1881
|
+
margin: number[];
|
|
1882
|
+
xAxisHeight: number;
|
|
1883
|
+
yAxisWidth: number;
|
|
1884
|
+
legendOptions: LegendOptions;
|
|
1885
|
+
dataLabelMaxHeight: any;
|
|
1886
|
+
isSSR: boolean;
|
|
1887
|
+
barOrientation: typeof BarOrientation;
|
|
1888
|
+
ngOnInit(): void;
|
|
1889
|
+
update(): void;
|
|
1890
|
+
onDataLabelMaxHeightChanged(event: any, groupIndex: number): void;
|
|
1891
|
+
getGroupScale(): any;
|
|
1892
|
+
getInnerScale(): any;
|
|
1893
|
+
getValueScale(): any;
|
|
1894
|
+
getGroupDomain(): string[];
|
|
1895
|
+
getInnerDomain(): string[];
|
|
1896
|
+
getValueDomain(): [number, number];
|
|
1897
|
+
groupTransform(group: DataItem): string;
|
|
1898
|
+
onClick(data: any, group?: DataItem): void;
|
|
1899
|
+
trackBy: TrackByFunction<DataItem>;
|
|
1900
|
+
setColors(): void;
|
|
1901
|
+
getLegendOptions(): LegendOptions;
|
|
1902
|
+
updateYAxisWidth({ width }: {
|
|
1903
|
+
width: number;
|
|
1904
|
+
}): void;
|
|
1905
|
+
updateXAxisHeight({ height }: {
|
|
1906
|
+
height: number;
|
|
1907
|
+
}): void;
|
|
1908
|
+
onActivate(event: any, group: DataItem, fromLegend?: boolean): void;
|
|
1909
|
+
onDeactivate(event: any, group: DataItem, fromLegend?: boolean): void;
|
|
1910
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarVertical2DComponent, never>;
|
|
1911
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarVertical2DComponent, "ngx-charts-bar-vertical-2d", 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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "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; }; "groupPadding": { "alias": "groupPadding"; "required": false; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "yScaleMax": { "alias": "yScaleMax"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
declare class BarVerticalNormalizedComponent extends BaseChartComponent {
|
|
1915
|
+
legend: boolean;
|
|
1916
|
+
legendTitle: string;
|
|
1917
|
+
legendPosition: LegendPosition;
|
|
1918
|
+
xAxis: any;
|
|
1919
|
+
yAxis: any;
|
|
1920
|
+
showXAxisLabel: boolean;
|
|
1921
|
+
showYAxisLabel: boolean;
|
|
1922
|
+
xAxisLabel: string;
|
|
1923
|
+
yAxisLabel: string;
|
|
1924
|
+
tooltipDisabled: boolean;
|
|
1925
|
+
gradient: boolean;
|
|
1926
|
+
showGridLines: boolean;
|
|
1927
|
+
activeEntries: any[];
|
|
1928
|
+
schemeType: ScaleType;
|
|
1929
|
+
trimXAxisTicks: boolean;
|
|
1930
|
+
trimYAxisTicks: boolean;
|
|
1931
|
+
rotateXAxisTicks: boolean;
|
|
1932
|
+
maxXAxisTickLength: number;
|
|
1933
|
+
maxYAxisTickLength: number;
|
|
1934
|
+
xAxisTickFormatting: any;
|
|
1935
|
+
yAxisTickFormatting: any;
|
|
1936
|
+
xAxisTicks: any[];
|
|
1937
|
+
yAxisTicks: any[];
|
|
1938
|
+
barPadding: number;
|
|
1939
|
+
roundDomains: boolean;
|
|
1940
|
+
noBarWhenZero: boolean;
|
|
1941
|
+
wrapTicks: boolean;
|
|
1942
|
+
activate: EventEmitter<any>;
|
|
1943
|
+
deactivate: EventEmitter<any>;
|
|
1944
|
+
tooltipTemplate: TemplateRef<any>;
|
|
1945
|
+
dims: ViewDimensions;
|
|
1946
|
+
groupDomain: string[];
|
|
1947
|
+
innerDomain: string[];
|
|
1948
|
+
valueDomain: [number, number];
|
|
1949
|
+
xScale: any;
|
|
1950
|
+
yScale: any;
|
|
1951
|
+
transform: string;
|
|
1952
|
+
colors: ColorHelper;
|
|
1953
|
+
margin: number[];
|
|
1954
|
+
xAxisHeight: number;
|
|
1955
|
+
yAxisWidth: number;
|
|
1956
|
+
legendOptions: LegendOptions;
|
|
1957
|
+
isSSR: boolean;
|
|
1958
|
+
barChartType: typeof BarChartType;
|
|
1959
|
+
ngOnInit(): void;
|
|
1960
|
+
update(): void;
|
|
1961
|
+
getGroupDomain(): string[];
|
|
1962
|
+
getInnerDomain(): string[];
|
|
1963
|
+
getXScale(): any;
|
|
1964
|
+
getYScale(): any;
|
|
1965
|
+
groupTransform(group: Series): string;
|
|
1966
|
+
onClick(data: any, group?: Series): void;
|
|
1967
|
+
trackBy: TrackByFunction<Series>;
|
|
1968
|
+
setColors(): void;
|
|
1969
|
+
getLegendOptions(): LegendOptions;
|
|
1970
|
+
updateYAxisWidth({ width }: {
|
|
1971
|
+
width: number;
|
|
1972
|
+
}): void;
|
|
1973
|
+
updateXAxisHeight({ height }: {
|
|
1974
|
+
height: number;
|
|
1975
|
+
}): void;
|
|
1976
|
+
onActivate(event: any, group: Series, fromLegend?: boolean): void;
|
|
1977
|
+
onDeactivate(event: any, group: Series, fromLegend?: boolean): void;
|
|
1978
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarVerticalNormalizedComponent, never>;
|
|
1979
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarVerticalNormalizedComponent, "ngx-charts-bar-vertical-normalized", 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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "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; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
declare class BarVerticalStackedComponent extends BaseChartComponent {
|
|
1983
|
+
legend: boolean;
|
|
1984
|
+
legendTitle: string;
|
|
1985
|
+
legendPosition: LegendPosition;
|
|
1986
|
+
xAxis: any;
|
|
1987
|
+
yAxis: any;
|
|
1988
|
+
showXAxisLabel: boolean;
|
|
1989
|
+
showYAxisLabel: boolean;
|
|
1990
|
+
xAxisLabel: string;
|
|
1991
|
+
yAxisLabel: string;
|
|
1992
|
+
tooltipDisabled: boolean;
|
|
1993
|
+
gradient: boolean;
|
|
1994
|
+
showGridLines: boolean;
|
|
1995
|
+
activeEntries: any[];
|
|
1996
|
+
schemeType: ScaleType;
|
|
1997
|
+
trimXAxisTicks: boolean;
|
|
1998
|
+
trimYAxisTicks: boolean;
|
|
1999
|
+
rotateXAxisTicks: boolean;
|
|
2000
|
+
maxXAxisTickLength: number;
|
|
2001
|
+
maxYAxisTickLength: number;
|
|
2002
|
+
xAxisTickFormatting: any;
|
|
2003
|
+
yAxisTickFormatting: any;
|
|
2004
|
+
xAxisTicks: any[];
|
|
2005
|
+
yAxisTicks: any[];
|
|
2006
|
+
barPadding: number;
|
|
2007
|
+
roundDomains: boolean;
|
|
2008
|
+
yScaleMax: number;
|
|
2009
|
+
showDataLabel: boolean;
|
|
2010
|
+
dataLabelFormatting: any;
|
|
2011
|
+
noBarWhenZero: boolean;
|
|
2012
|
+
wrapTicks: boolean;
|
|
2013
|
+
activate: EventEmitter<any>;
|
|
2014
|
+
deactivate: EventEmitter<any>;
|
|
2015
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2016
|
+
dims: ViewDimensions;
|
|
2017
|
+
groupDomain: string[];
|
|
2018
|
+
innerDomain: string[];
|
|
2019
|
+
valueDomain: [number, number];
|
|
2020
|
+
xScale: any;
|
|
2021
|
+
yScale: any;
|
|
2022
|
+
transform: string;
|
|
2023
|
+
tickFormatting: (label: string) => string;
|
|
2024
|
+
colors: ColorHelper;
|
|
2025
|
+
margin: number[];
|
|
2026
|
+
xAxisHeight: number;
|
|
2027
|
+
yAxisWidth: number;
|
|
2028
|
+
legendOptions: LegendOptions;
|
|
2029
|
+
dataLabelMaxHeight: any;
|
|
2030
|
+
isSSR: boolean;
|
|
2031
|
+
barChartType: typeof BarChartType;
|
|
2032
|
+
ngOnInit(): void;
|
|
2033
|
+
ngOnChanges(): void;
|
|
2034
|
+
update(): void;
|
|
2035
|
+
getGroupDomain(): string[];
|
|
2036
|
+
getInnerDomain(): string[];
|
|
2037
|
+
getValueDomain(): [number, number];
|
|
2038
|
+
getXScale(): any;
|
|
2039
|
+
getYScale(): any;
|
|
2040
|
+
onDataLabelMaxHeightChanged(event: any, groupIndex: number): void;
|
|
2041
|
+
groupTransform(group: Series): string;
|
|
2042
|
+
onClick(data: any, group?: Series): void;
|
|
2043
|
+
trackBy: TrackByFunction<Series>;
|
|
2044
|
+
setColors(): void;
|
|
2045
|
+
getLegendOptions(): LegendOptions;
|
|
2046
|
+
updateYAxisWidth({ width }: {
|
|
2047
|
+
width: number;
|
|
2048
|
+
}): void;
|
|
2049
|
+
updateXAxisHeight({ height }: {
|
|
2050
|
+
height: number;
|
|
2051
|
+
}): void;
|
|
2052
|
+
onActivate(event: any, group: any, fromLegend?: boolean): void;
|
|
2053
|
+
onDeactivate(event: any, group: Series, fromLegend?: boolean): void;
|
|
2054
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarVerticalStackedComponent, never>;
|
|
2055
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarVerticalStackedComponent, "ngx-charts-bar-vertical-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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "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; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "yScaleMax": { "alias": "yScaleMax"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
declare class BarLabelComponent implements OnChanges {
|
|
2059
|
+
value: any;
|
|
2060
|
+
valueFormatting: any;
|
|
2061
|
+
barX: any;
|
|
2062
|
+
barY: any;
|
|
2063
|
+
barWidth: any;
|
|
2064
|
+
barHeight: any;
|
|
2065
|
+
orientation: BarOrientation;
|
|
2066
|
+
dimensionsChanged: EventEmitter<any>;
|
|
2067
|
+
element: any;
|
|
2068
|
+
x: number;
|
|
2069
|
+
y: number;
|
|
2070
|
+
horizontalPadding: number;
|
|
2071
|
+
verticalPadding: number;
|
|
2072
|
+
formatedValue: string;
|
|
2073
|
+
transform: string;
|
|
2074
|
+
textAnchor: string;
|
|
2075
|
+
constructor(element: ElementRef);
|
|
2076
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2077
|
+
getSize(): any;
|
|
2078
|
+
ngAfterViewInit(): void;
|
|
2079
|
+
update(): void;
|
|
2080
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarLabelComponent, never>;
|
|
2081
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarLabelComponent, "g[ngx-charts-bar-label]", never, { "value": { "alias": "value"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "barX": { "alias": "barX"; "required": false; }; "barY": { "alias": "barY"; "required": false; }; "barWidth": { "alias": "barWidth"; "required": false; }; "barHeight": { "alias": "barHeight"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "dimensionsChanged": "dimensionsChanged"; }, never, never, false, never>;
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
interface Bar {
|
|
2085
|
+
ariaLabel: string;
|
|
2086
|
+
color: string;
|
|
2087
|
+
data: DataItem;
|
|
2088
|
+
formattedLabel: string;
|
|
2089
|
+
gradientStops: Gradient[];
|
|
2090
|
+
height: number;
|
|
2091
|
+
label: string;
|
|
2092
|
+
roundEdges: boolean;
|
|
2093
|
+
tooltipText: string;
|
|
2094
|
+
value: number;
|
|
2095
|
+
width: number;
|
|
2096
|
+
x: number;
|
|
2097
|
+
y: number;
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
declare class SeriesHorizontal implements OnChanges {
|
|
2101
|
+
dims: ViewDimensions;
|
|
2102
|
+
type: BarChartType;
|
|
2103
|
+
series: DataItem[];
|
|
2104
|
+
xScale: any;
|
|
2105
|
+
yScale: any;
|
|
2106
|
+
colors: ColorHelper;
|
|
2107
|
+
tooltipDisabled: boolean;
|
|
2108
|
+
gradient: boolean;
|
|
2109
|
+
activeEntries: DataItem[];
|
|
2110
|
+
seriesName: StringOrNumberOrDate;
|
|
2111
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2112
|
+
roundEdges: boolean;
|
|
2113
|
+
animations: boolean;
|
|
2114
|
+
showDataLabel: boolean;
|
|
2115
|
+
dataLabelFormatting: any;
|
|
2116
|
+
noBarWhenZero: boolean;
|
|
2117
|
+
select: EventEmitter<DataItem>;
|
|
2118
|
+
activate: EventEmitter<any>;
|
|
2119
|
+
deactivate: EventEmitter<any>;
|
|
2120
|
+
dataLabelWidthChanged: EventEmitter<{
|
|
2121
|
+
size: Event;
|
|
2122
|
+
index: number;
|
|
2123
|
+
}>;
|
|
2124
|
+
tooltipPlacement: PlacementTypes;
|
|
2125
|
+
tooltipType: StyleTypes;
|
|
2126
|
+
bars: Bar[];
|
|
2127
|
+
barsForDataLabels: Array<{
|
|
2128
|
+
x: number;
|
|
2129
|
+
y: number;
|
|
2130
|
+
width: number;
|
|
2131
|
+
height: number;
|
|
2132
|
+
total: number;
|
|
2133
|
+
series: string;
|
|
2134
|
+
}>;
|
|
2135
|
+
barOrientation: typeof BarOrientation;
|
|
2136
|
+
ngOnChanges(): void;
|
|
2137
|
+
update(): void;
|
|
2138
|
+
updateDataLabels(): void;
|
|
2139
|
+
updateTooltipSettings(): void;
|
|
2140
|
+
isActive(entry: DataItem): boolean;
|
|
2141
|
+
getLabel(dataItem: DataItem): StringOrNumberOrDate;
|
|
2142
|
+
trackBy(index: number, bar: Bar): string;
|
|
2143
|
+
trackDataLabelBy(index: number, barLabel: any): string;
|
|
2144
|
+
click(data: DataItem): void;
|
|
2145
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeriesHorizontal, never>;
|
|
2146
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeriesHorizontal, "g[ngx-charts-series-horizontal]", never, { "dims": { "alias": "dims"; "required": false; }; "type": { "alias": "type"; "required": false; }; "series": { "alias": "series"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "seriesName": { "alias": "seriesName"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; "dataLabelWidthChanged": "dataLabelWidthChanged"; }, never, never, false, never>;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
declare class SeriesVerticalComponent implements OnChanges {
|
|
2150
|
+
private platformId;
|
|
2151
|
+
dims: ViewDimensions;
|
|
2152
|
+
type: BarChartType;
|
|
2153
|
+
series: DataItem[];
|
|
2154
|
+
xScale: any;
|
|
2155
|
+
yScale: any;
|
|
2156
|
+
colors: ColorHelper;
|
|
2157
|
+
gradient: boolean;
|
|
2158
|
+
activeEntries: DataItem[];
|
|
2159
|
+
seriesName: StringOrNumberOrDate;
|
|
2160
|
+
tooltipDisabled: boolean;
|
|
2161
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2162
|
+
roundEdges: boolean;
|
|
2163
|
+
animations: boolean;
|
|
2164
|
+
showDataLabel: boolean;
|
|
2165
|
+
dataLabelFormatting: any;
|
|
2166
|
+
noBarWhenZero: boolean;
|
|
2167
|
+
select: EventEmitter<DataItem>;
|
|
2168
|
+
activate: EventEmitter<any>;
|
|
2169
|
+
deactivate: EventEmitter<any>;
|
|
2170
|
+
dataLabelHeightChanged: EventEmitter<any>;
|
|
2171
|
+
tooltipPlacement: PlacementTypes;
|
|
2172
|
+
tooltipType: StyleTypes;
|
|
2173
|
+
bars: Bar[];
|
|
2174
|
+
barsForDataLabels: Array<{
|
|
2175
|
+
x: number;
|
|
2176
|
+
y: number;
|
|
2177
|
+
width: number;
|
|
2178
|
+
height: number;
|
|
2179
|
+
total: number;
|
|
2180
|
+
series: string;
|
|
2181
|
+
}>;
|
|
2182
|
+
barOrientation: typeof BarOrientation;
|
|
2183
|
+
isSSR: boolean;
|
|
2184
|
+
constructor(platformId: any);
|
|
2185
|
+
ngOnInit(): void;
|
|
2186
|
+
ngOnChanges(): void;
|
|
2187
|
+
update(): void;
|
|
2188
|
+
updateDataLabels(): void;
|
|
2189
|
+
updateTooltipSettings(): void;
|
|
2190
|
+
isActive(entry: DataItem): boolean;
|
|
2191
|
+
onClick(data: DataItem): void;
|
|
2192
|
+
getLabel(dataItem: DataItem): StringOrNumberOrDate;
|
|
2193
|
+
trackBy(index: number, bar: Bar): string;
|
|
2194
|
+
trackDataLabelBy(index: number, barLabel: any): string;
|
|
2195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeriesVerticalComponent, never>;
|
|
2196
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeriesVerticalComponent, "g[ngx-charts-series-vertical]", never, { "dims": { "alias": "dims"; "required": false; }; "type": { "alias": "type"; "required": false; }; "series": { "alias": "series"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "seriesName": { "alias": "seriesName"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; "dataLabelHeightChanged": "dataLabelHeightChanged"; }, never, never, false, never>;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
declare class BarChartModule {
|
|
2200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BarChartModule, never>;
|
|
2201
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BarChartModule, [typeof BarComponent, typeof BarHorizontalComponent, typeof BarHorizontal2DComponent, typeof BarHorizontalNormalizedComponent, typeof BarHorizontalStackedComponent, typeof BarVerticalComponent, typeof BarVertical2DComponent, typeof BarVerticalNormalizedComponent, typeof BarVerticalStackedComponent, typeof BarLabelComponent, typeof SeriesHorizontal, typeof SeriesVerticalComponent], [typeof ChartCommonModule], [typeof BarComponent, typeof BarHorizontalComponent, typeof BarHorizontal2DComponent, typeof BarHorizontalNormalizedComponent, typeof BarHorizontalStackedComponent, typeof BarVerticalComponent, typeof BarVertical2DComponent, typeof BarVerticalNormalizedComponent, typeof BarVerticalStackedComponent, typeof BarLabelComponent, typeof SeriesHorizontal, typeof SeriesVerticalComponent]>;
|
|
2202
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BarChartModule>;
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
declare class BoxChartComponent extends BaseChartComponent {
|
|
2206
|
+
/** Show or hide the legend. */
|
|
2207
|
+
legend: boolean;
|
|
2208
|
+
legendPosition: LegendPosition;
|
|
2209
|
+
legendTitle: string;
|
|
2210
|
+
/** I think it is better to handle legend options as single Input object of type ILegendOptions */
|
|
2211
|
+
legendOptionsConfig: LegendOptions;
|
|
2212
|
+
showGridLines: boolean;
|
|
2213
|
+
xAxis: boolean;
|
|
2214
|
+
yAxis: boolean;
|
|
2215
|
+
showXAxisLabel: boolean;
|
|
2216
|
+
showYAxisLabel: boolean;
|
|
2217
|
+
roundDomains: boolean;
|
|
2218
|
+
xAxisLabel: string;
|
|
2219
|
+
yAxisLabel: string;
|
|
2220
|
+
roundEdges: boolean;
|
|
2221
|
+
strokeColor: string;
|
|
2222
|
+
strokeWidth: number;
|
|
2223
|
+
tooltipDisabled: boolean;
|
|
2224
|
+
gradient: boolean;
|
|
2225
|
+
wrapTicks: boolean;
|
|
2226
|
+
select: EventEmitter<IBoxModel>;
|
|
2227
|
+
activate: EventEmitter<IBoxModel>;
|
|
2228
|
+
deactivate: EventEmitter<IBoxModel>;
|
|
2229
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2230
|
+
/** Input Data, this came from Base Chart Component. */
|
|
2231
|
+
results: BoxChartMultiSeries;
|
|
2232
|
+
/** Chart Dimensions, this came from Base Chart Component. */
|
|
2233
|
+
dims: ViewDimensions;
|
|
2234
|
+
/** Color data. */
|
|
2235
|
+
colors: ColorHelper;
|
|
2236
|
+
/** Transform string css attribute for the chart container */
|
|
2237
|
+
transform: string;
|
|
2238
|
+
/** Chart Margins (For each side, counterclock wise). */
|
|
2239
|
+
margin: [number, number, number, number];
|
|
2240
|
+
/** Legend Options object to handle positioning, title, colors and domain. */
|
|
2241
|
+
legendOptions: LegendOptions;
|
|
2242
|
+
xScale: ScaleBand<string>;
|
|
2243
|
+
yScale: ScaleLinear<number, number>;
|
|
2244
|
+
xDomain: StringOrNumberOrDate[];
|
|
2245
|
+
yDomain: number[];
|
|
2246
|
+
seriesDomain: string[];
|
|
2247
|
+
/** Chart X axis dimension. */
|
|
2248
|
+
xAxisHeight: number;
|
|
2249
|
+
/** Chart Y axis dimension. */
|
|
2250
|
+
yAxisWidth: number;
|
|
2251
|
+
ngOnChanges(): void;
|
|
2252
|
+
trackBy(index: number, item: BoxChartSeries): StringOrNumberOrDate;
|
|
2253
|
+
update(): void;
|
|
2254
|
+
setColors(): void;
|
|
2255
|
+
setScales(): void;
|
|
2256
|
+
getXScale(domain: Array<string | number | Date>, width: number): ScaleBand<string>;
|
|
2257
|
+
getYScale(domain: number[], height: number): ScaleLinear<number, number>;
|
|
2258
|
+
getUniqueBoxChartXDomainValues(results: BoxChartMultiSeries): (string | number | Date)[];
|
|
2259
|
+
getXDomain(): Array<string | number | Date>;
|
|
2260
|
+
getYDomain(): number[];
|
|
2261
|
+
getSeriesDomain(): string[];
|
|
2262
|
+
updateYAxisWidth({ width }: {
|
|
2263
|
+
width: any;
|
|
2264
|
+
}): void;
|
|
2265
|
+
updateXAxisHeight({ height }: {
|
|
2266
|
+
height: any;
|
|
2267
|
+
}): void;
|
|
2268
|
+
onClick(data: IBoxModel): void;
|
|
2269
|
+
onActivate(data: IBoxModel): void;
|
|
2270
|
+
onDeactivate(data: IBoxModel): void;
|
|
2271
|
+
private getLegendOptions;
|
|
2272
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BoxChartComponent, never>;
|
|
2273
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BoxChartComponent, "ngx-charts-box-chart", never, { "legend": { "alias": "legend"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendOptionsConfig": { "alias": "legendOptionsConfig"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "strokeColor": { "alias": "strokeColor"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
declare class BoxSeriesComponent implements OnChanges {
|
|
2277
|
+
dims: ViewDimensions;
|
|
2278
|
+
series: BoxChartSeries;
|
|
2279
|
+
xScale: ScaleBand<string>;
|
|
2280
|
+
yScale: ScaleLinear<number, number>;
|
|
2281
|
+
colors: ColorHelper;
|
|
2282
|
+
animations: boolean;
|
|
2283
|
+
strokeColor: string;
|
|
2284
|
+
strokeWidth: number;
|
|
2285
|
+
tooltipDisabled: boolean;
|
|
2286
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2287
|
+
tooltipPlacement: PlacementTypes;
|
|
2288
|
+
tooltipType: StyleTypes;
|
|
2289
|
+
roundEdges: boolean;
|
|
2290
|
+
gradient: boolean;
|
|
2291
|
+
select: EventEmitter<IBoxModel>;
|
|
2292
|
+
activate: EventEmitter<IBoxModel>;
|
|
2293
|
+
deactivate: EventEmitter<IBoxModel>;
|
|
2294
|
+
box: IBoxModel;
|
|
2295
|
+
counts: DataItem[];
|
|
2296
|
+
quartiles: [number, number, number];
|
|
2297
|
+
whiskers: [number, number];
|
|
2298
|
+
lineCoordinates: [IVector2D, IVector2D, IVector2D, IVector2D];
|
|
2299
|
+
tooltipTitle: string;
|
|
2300
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2301
|
+
onClick(data: IBoxModel): void;
|
|
2302
|
+
update(): void;
|
|
2303
|
+
getBoxQuantiles(inputData: Array<number | Date>): [number, number, number];
|
|
2304
|
+
getLinesCoordinates(seriesName: string, whiskers: [number, number], quartiles: [number, number, number], barWidth: number): [IVector2D, IVector2D, IVector2D, IVector2D];
|
|
2305
|
+
updateTooltipSettings(): void;
|
|
2306
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BoxSeriesComponent, never>;
|
|
2307
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BoxSeriesComponent, "g[ngx-charts-box-series]", never, { "dims": { "alias": "dims"; "required": false; }; "series": { "alias": "series"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; "strokeColor": { "alias": "strokeColor"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
type LineCoordinates = [IVector2D, IVector2D, IVector2D, IVector2D];
|
|
2311
|
+
declare function clonePoint(original: IPoint): IPoint;
|
|
2312
|
+
declare function cloneVector2d(original: IVector2D): IVector2D;
|
|
2313
|
+
declare function cloneLineCoordinates(original: LineCoordinates): LineCoordinates;
|
|
2314
|
+
declare class BoxComponent implements OnChanges {
|
|
2315
|
+
protected cd: ChangeDetectorRef;
|
|
2316
|
+
strokeColor: string;
|
|
2317
|
+
strokeWidth: number;
|
|
2318
|
+
fill: string;
|
|
2319
|
+
data: IBoxModel;
|
|
2320
|
+
width: number;
|
|
2321
|
+
height: number;
|
|
2322
|
+
x: number;
|
|
2323
|
+
y: number;
|
|
2324
|
+
lineCoordinates: LineCoordinates;
|
|
2325
|
+
roundEdges: boolean;
|
|
2326
|
+
gradient: boolean;
|
|
2327
|
+
gradientStops: Gradient[];
|
|
2328
|
+
offset: number;
|
|
2329
|
+
isActive: boolean;
|
|
2330
|
+
animations: boolean;
|
|
2331
|
+
ariaLabel: string;
|
|
2332
|
+
noBarWhenZero: boolean;
|
|
2333
|
+
select: EventEmitter<IBoxModel>;
|
|
2334
|
+
activate: EventEmitter<IBoxModel>;
|
|
2335
|
+
deactivate: EventEmitter<IBoxModel>;
|
|
2336
|
+
BarOrientation: typeof BarOrientation;
|
|
2337
|
+
nativeElm: any;
|
|
2338
|
+
oldPath: string;
|
|
2339
|
+
boxPath: string;
|
|
2340
|
+
oldLineCoordinates: LineCoordinates;
|
|
2341
|
+
gradientId: string;
|
|
2342
|
+
gradientFill: string;
|
|
2343
|
+
initialized: boolean;
|
|
2344
|
+
hasGradient: boolean;
|
|
2345
|
+
hideBar: boolean;
|
|
2346
|
+
/** Mask Path to cut the line on the box part. */
|
|
2347
|
+
maskLine: string;
|
|
2348
|
+
/** Mask Path Id to keep track of the mask element */
|
|
2349
|
+
maskLineId: string;
|
|
2350
|
+
boxStrokeWidth: number;
|
|
2351
|
+
whiskerStrokeWidth: number;
|
|
2352
|
+
medianLineWidth: number;
|
|
2353
|
+
constructor(element: ElementRef, cd: ChangeDetectorRef);
|
|
2354
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2355
|
+
update(): void;
|
|
2356
|
+
loadAnimation(): void;
|
|
2357
|
+
updatePathEl(): void;
|
|
2358
|
+
updateLineEl(): void;
|
|
2359
|
+
/**
|
|
2360
|
+
* See [D3 Selections](https://www.d3indepth.com/selections/)
|
|
2361
|
+
* @param d The joined data.
|
|
2362
|
+
* @param index The index of the element within the selection
|
|
2363
|
+
* @param node The node element (Line).
|
|
2364
|
+
*/
|
|
2365
|
+
lineTween(attr: string, d: any, index: number, node: BaseType[] | ArrayLike<BaseType>): any;
|
|
2366
|
+
pathTween(d1: string, precision: number): () => (t: any) => string;
|
|
2367
|
+
getStartingPath(): string;
|
|
2368
|
+
getPath(): string;
|
|
2369
|
+
getStartingLineCoordinates(): LineCoordinates;
|
|
2370
|
+
getRadius(): number;
|
|
2371
|
+
getGradient(): Gradient[];
|
|
2372
|
+
getStartOpacity(): number;
|
|
2373
|
+
get edges(): boolean[];
|
|
2374
|
+
onMouseEnter(): void;
|
|
2375
|
+
onMouseLeave(): void;
|
|
2376
|
+
private checkToHideBar;
|
|
2377
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BoxComponent, never>;
|
|
2378
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BoxComponent, "g[ngx-charts-box]", never, { "strokeColor": { "alias": "strokeColor"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "data": { "alias": "data"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "lineCoordinates": { "alias": "lineCoordinates"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "gradientStops": { "alias": "gradientStops"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
declare class BoxChartModule {
|
|
2382
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BoxChartModule, never>;
|
|
2383
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BoxChartModule, [typeof BoxChartComponent, typeof BoxSeriesComponent, typeof BoxComponent], [typeof ChartCommonModule], [typeof BoxChartComponent, typeof BoxSeriesComponent, typeof BoxComponent]>;
|
|
2384
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BoxChartModule>;
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
declare class BubbleChartComponent extends BaseChartComponent {
|
|
2388
|
+
showGridLines: boolean;
|
|
2389
|
+
legend: boolean;
|
|
2390
|
+
legendTitle: string;
|
|
2391
|
+
legendPosition: LegendPosition;
|
|
2392
|
+
xAxis: boolean;
|
|
2393
|
+
yAxis: boolean;
|
|
2394
|
+
showXAxisLabel: boolean;
|
|
2395
|
+
showYAxisLabel: boolean;
|
|
2396
|
+
xAxisLabel: string;
|
|
2397
|
+
yAxisLabel: string;
|
|
2398
|
+
trimXAxisTicks: boolean;
|
|
2399
|
+
trimYAxisTicks: boolean;
|
|
2400
|
+
rotateXAxisTicks: boolean;
|
|
2401
|
+
maxXAxisTickLength: number;
|
|
2402
|
+
maxYAxisTickLength: number;
|
|
2403
|
+
xAxisTickFormatting: any;
|
|
2404
|
+
yAxisTickFormatting: any;
|
|
2405
|
+
xAxisTicks: any[];
|
|
2406
|
+
yAxisTicks: any[];
|
|
2407
|
+
roundDomains: boolean;
|
|
2408
|
+
maxRadius: number;
|
|
2409
|
+
minRadius: number;
|
|
2410
|
+
autoScale: boolean;
|
|
2411
|
+
schemeType: ScaleType;
|
|
2412
|
+
tooltipDisabled: boolean;
|
|
2413
|
+
xScaleMin: number;
|
|
2414
|
+
xScaleMax: number;
|
|
2415
|
+
yScaleMin: number;
|
|
2416
|
+
yScaleMax: number;
|
|
2417
|
+
wrapTicks: boolean;
|
|
2418
|
+
activate: EventEmitter<any>;
|
|
2419
|
+
deactivate: EventEmitter<any>;
|
|
2420
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2421
|
+
dims: ViewDimensions;
|
|
2422
|
+
colors: ColorHelper;
|
|
2423
|
+
scaleType: ScaleType;
|
|
2424
|
+
margin: number[];
|
|
2425
|
+
bubblePadding: number[];
|
|
2426
|
+
data: BubbleChartSeries[];
|
|
2427
|
+
legendOptions: LegendOptions;
|
|
2428
|
+
transform: string;
|
|
2429
|
+
clipPath: string;
|
|
2430
|
+
clipPathId: string;
|
|
2431
|
+
seriesDomain: number[];
|
|
2432
|
+
xDomain: number[];
|
|
2433
|
+
yDomain: number[];
|
|
2434
|
+
rDomain: number[];
|
|
2435
|
+
xScaleType: ScaleType;
|
|
2436
|
+
yScaleType: ScaleType;
|
|
2437
|
+
yScale: any;
|
|
2438
|
+
xScale: any;
|
|
2439
|
+
rScale: any;
|
|
2440
|
+
xAxisHeight: number;
|
|
2441
|
+
yAxisWidth: number;
|
|
2442
|
+
activeEntries: any[];
|
|
2443
|
+
isSSR: boolean;
|
|
2444
|
+
ngOnInit(): void;
|
|
2445
|
+
ngOnChanges(): void;
|
|
2446
|
+
update(): void;
|
|
2447
|
+
hideCircles(): void;
|
|
2448
|
+
onClick(data: any, series?: any): void;
|
|
2449
|
+
getBubblePadding(): number[];
|
|
2450
|
+
setScales(): void;
|
|
2451
|
+
getYScale(domain: any, height: number): any;
|
|
2452
|
+
getXScale(domain: any, width: number): any;
|
|
2453
|
+
getRScale(domain: any, range: any): any;
|
|
2454
|
+
getLegendOptions(): LegendOptions;
|
|
2455
|
+
getXDomain(): number[];
|
|
2456
|
+
getYDomain(): number[];
|
|
2457
|
+
getRDomain(): [number, number];
|
|
2458
|
+
updateYAxisWidth({ width }: {
|
|
2459
|
+
width: number;
|
|
2460
|
+
}): void;
|
|
2461
|
+
updateXAxisHeight({ height }: {
|
|
2462
|
+
height: number;
|
|
2463
|
+
}): void;
|
|
2464
|
+
onActivate(item: any): void;
|
|
2465
|
+
onDeactivate(item: any): void;
|
|
2466
|
+
deactivateAll(): void;
|
|
2467
|
+
trackBy(index: number, item: any): string;
|
|
2468
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleChartComponent, never>;
|
|
2469
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BubbleChartComponent, "ngx-charts-bubble-chart", never, { "showGridLines": { "alias": "showGridLines"; "required": false; }; "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; }; "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; }; "maxRadius": { "alias": "maxRadius"; "required": false; }; "minRadius": { "alias": "minRadius"; "required": false; }; "autoScale": { "alias": "autoScale"; "required": false; }; "schemeType": { "alias": "schemeType"; "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"], never, false, never>;
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
declare class BubbleSeriesComponent implements OnChanges, OnInit {
|
|
2473
|
+
private platformId;
|
|
2474
|
+
data: BubbleChartSeries;
|
|
2475
|
+
xScale: any;
|
|
2476
|
+
yScale: any;
|
|
2477
|
+
rScale: any;
|
|
2478
|
+
xScaleType: ScaleType;
|
|
2479
|
+
yScaleType: ScaleType;
|
|
2480
|
+
colors: ColorHelper;
|
|
2481
|
+
visibleValue: any;
|
|
2482
|
+
activeEntries: any[];
|
|
2483
|
+
xAxisLabel: string;
|
|
2484
|
+
yAxisLabel: string;
|
|
2485
|
+
tooltipDisabled: boolean;
|
|
2486
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2487
|
+
select: EventEmitter<any>;
|
|
2488
|
+
activate: EventEmitter<any>;
|
|
2489
|
+
deactivate: EventEmitter<any>;
|
|
2490
|
+
areaPath: any;
|
|
2491
|
+
circles: any[];
|
|
2492
|
+
placementTypes: typeof PlacementTypes;
|
|
2493
|
+
styleTypes: typeof StyleTypes;
|
|
2494
|
+
isSSR: boolean;
|
|
2495
|
+
constructor(platformId: any);
|
|
2496
|
+
ngOnInit(): void;
|
|
2497
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2498
|
+
update(): void;
|
|
2499
|
+
getCircles(): any[];
|
|
2500
|
+
getTooltipText(circle: any): string;
|
|
2501
|
+
onClick(data: any): void;
|
|
2502
|
+
isActive(entry: any): boolean;
|
|
2503
|
+
isVisible(circle: any): boolean;
|
|
2504
|
+
activateCircle(circle: any): void;
|
|
2505
|
+
deactivateCircle(circle: any): void;
|
|
2506
|
+
trackBy(index: any, circle: any): string;
|
|
2507
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleSeriesComponent, never>;
|
|
2508
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BubbleSeriesComponent, "g[ngx-charts-bubble-series]", never, { "data": { "alias": "data"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "rScale": { "alias": "rScale"; "required": false; }; "xScaleType": { "alias": "xScaleType"; "required": false; }; "yScaleType": { "alias": "yScaleType"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "visibleValue": { "alias": "visibleValue"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
declare class BubbleChartModule {
|
|
2512
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleChartModule, never>;
|
|
2513
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BubbleChartModule, [typeof BubbleChartComponent, typeof BubbleSeriesComponent], [typeof ChartCommonModule], [typeof BubbleChartComponent, typeof BubbleSeriesComponent]>;
|
|
2514
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BubbleChartModule>;
|
|
2515
|
+
}
|
|
2516
|
+
|
|
2517
|
+
declare class HeatMapCellComponent implements OnChanges {
|
|
2518
|
+
fill: string;
|
|
2519
|
+
x: number;
|
|
2520
|
+
y: number;
|
|
2521
|
+
width: number;
|
|
2522
|
+
height: number;
|
|
2523
|
+
data: number;
|
|
2524
|
+
gradient: boolean;
|
|
2525
|
+
animations: boolean;
|
|
2526
|
+
select: EventEmitter<number>;
|
|
2527
|
+
activate: EventEmitter<number>;
|
|
2528
|
+
deactivate: EventEmitter<number>;
|
|
2529
|
+
element: HTMLElement;
|
|
2530
|
+
transform: string;
|
|
2531
|
+
startOpacity: number;
|
|
2532
|
+
gradientId: string;
|
|
2533
|
+
gradientUrl: string;
|
|
2534
|
+
gradientStops: Gradient[];
|
|
2535
|
+
barOrientation: typeof BarOrientation;
|
|
2536
|
+
constructor(element: ElementRef);
|
|
2537
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2538
|
+
getGradientStops(): Gradient[];
|
|
2539
|
+
loadAnimation(): void;
|
|
2540
|
+
animateToCurrentForm(): void;
|
|
2541
|
+
onClick(): void;
|
|
2542
|
+
onMouseEnter(): void;
|
|
2543
|
+
onMouseLeave(): void;
|
|
2544
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeatMapCellComponent, never>;
|
|
2545
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeatMapCellComponent, "g[ngx-charts-heat-map-cell]", never, { "fill": { "alias": "fill"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "data": { "alias": "data"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
interface Cell {
|
|
2549
|
+
cell: DataItem;
|
|
2550
|
+
data: number;
|
|
2551
|
+
fill: string;
|
|
2552
|
+
height: number;
|
|
2553
|
+
label: string;
|
|
2554
|
+
row: Series;
|
|
2555
|
+
series: string;
|
|
2556
|
+
width: number;
|
|
2557
|
+
x: number;
|
|
2558
|
+
y: number;
|
|
2559
|
+
}
|
|
2560
|
+
declare class HeatCellSeriesComponent implements OnChanges, OnInit {
|
|
2561
|
+
data: any;
|
|
2562
|
+
colors: any;
|
|
2563
|
+
xScale: any;
|
|
2564
|
+
yScale: any;
|
|
2565
|
+
gradient: boolean;
|
|
2566
|
+
tooltipDisabled: boolean;
|
|
2567
|
+
tooltipText: any;
|
|
2568
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2569
|
+
animations: boolean;
|
|
2570
|
+
select: EventEmitter<DataItem>;
|
|
2571
|
+
activate: EventEmitter<DataItem>;
|
|
2572
|
+
deactivate: EventEmitter<DataItem>;
|
|
2573
|
+
cells: Cell[];
|
|
2574
|
+
placementTypes: typeof PlacementTypes;
|
|
2575
|
+
styleTypes: typeof StyleTypes;
|
|
2576
|
+
ngOnInit(): void;
|
|
2577
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2578
|
+
update(): void;
|
|
2579
|
+
getCells(): Cell[];
|
|
2580
|
+
getTooltipText({ label, data, series }: {
|
|
2581
|
+
label: string;
|
|
2582
|
+
data: number;
|
|
2583
|
+
series: string;
|
|
2584
|
+
}): string;
|
|
2585
|
+
trackBy(index: number, item: any): string;
|
|
2586
|
+
onClick(data: any): void;
|
|
2587
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeatCellSeriesComponent, never>;
|
|
2588
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeatCellSeriesComponent, "g[ngx-charts-heat-map-cell-series]", never, { "data": { "alias": "data"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2591
|
+
interface RectItem$1 {
|
|
2592
|
+
fill: string;
|
|
2593
|
+
height: number;
|
|
2594
|
+
rx: number;
|
|
2595
|
+
width: number;
|
|
2596
|
+
x: number;
|
|
2597
|
+
y: number;
|
|
2598
|
+
}
|
|
2599
|
+
declare class HeatMapComponent extends BaseChartComponent {
|
|
2600
|
+
legend: boolean;
|
|
2601
|
+
legendTitle: string;
|
|
2602
|
+
legendPosition: LegendPosition;
|
|
2603
|
+
xAxis: boolean;
|
|
2604
|
+
yAxis: boolean;
|
|
2605
|
+
showXAxisLabel: boolean;
|
|
2606
|
+
showYAxisLabel: boolean;
|
|
2607
|
+
xAxisLabel: string;
|
|
2608
|
+
yAxisLabel: string;
|
|
2609
|
+
gradient: boolean;
|
|
2610
|
+
innerPadding: number | number[] | string | string[];
|
|
2611
|
+
trimXAxisTicks: boolean;
|
|
2612
|
+
trimYAxisTicks: boolean;
|
|
2613
|
+
rotateXAxisTicks: boolean;
|
|
2614
|
+
maxXAxisTickLength: number;
|
|
2615
|
+
maxYAxisTickLength: number;
|
|
2616
|
+
xAxisTickFormatting: any;
|
|
2617
|
+
yAxisTickFormatting: any;
|
|
2618
|
+
xAxisTicks: any[];
|
|
2619
|
+
yAxisTicks: any[];
|
|
2620
|
+
tooltipDisabled: boolean;
|
|
2621
|
+
tooltipText: any;
|
|
2622
|
+
min: number;
|
|
2623
|
+
max: number;
|
|
2624
|
+
activeEntries: any[];
|
|
2625
|
+
wrapTicks: boolean;
|
|
2626
|
+
activate: EventEmitter<any>;
|
|
2627
|
+
deactivate: EventEmitter<any>;
|
|
2628
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2629
|
+
dims: ViewDimensions;
|
|
2630
|
+
xDomain: string[];
|
|
2631
|
+
yDomain: string[];
|
|
2632
|
+
valueDomain: any[];
|
|
2633
|
+
xScale: any;
|
|
2634
|
+
yScale: any;
|
|
2635
|
+
colors: ColorHelper;
|
|
2636
|
+
colorScale: any;
|
|
2637
|
+
transform: string;
|
|
2638
|
+
rects: RectItem$1[];
|
|
2639
|
+
margin: number[];
|
|
2640
|
+
xAxisHeight: number;
|
|
2641
|
+
yAxisWidth: number;
|
|
2642
|
+
legendOptions: LegendOptions;
|
|
2643
|
+
scaleType: ScaleType;
|
|
2644
|
+
ngOnChanges(): void;
|
|
2645
|
+
update(): void;
|
|
2646
|
+
getXDomain(): string[];
|
|
2647
|
+
getYDomain(): string[];
|
|
2648
|
+
getValueDomain(): any[];
|
|
2649
|
+
/**
|
|
2650
|
+
* Converts the input to gap paddingInner in fraction
|
|
2651
|
+
* Supports the following inputs:
|
|
2652
|
+
* Numbers: 8
|
|
2653
|
+
* Strings: "8", "8px", "8%"
|
|
2654
|
+
* Arrays: [8,2], "8,2", "[8,2]"
|
|
2655
|
+
* Mixed: [8,"2%"], ["8px","2%"], "8,2%", "[8,2%]"
|
|
2656
|
+
*
|
|
2657
|
+
* @memberOf HeatMapComponent
|
|
2658
|
+
*/
|
|
2659
|
+
getDimension(value: string | number | Array<string | number>, index: number, N: number, L: number): number;
|
|
2660
|
+
getXScale(): any;
|
|
2661
|
+
getYScale(): any;
|
|
2662
|
+
getRects(): RectItem$1[];
|
|
2663
|
+
onClick(data: any): void;
|
|
2664
|
+
setColors(): void;
|
|
2665
|
+
getLegendOptions(): LegendOptions;
|
|
2666
|
+
updateYAxisWidth({ width }: {
|
|
2667
|
+
width: number;
|
|
2668
|
+
}): void;
|
|
2669
|
+
updateXAxisHeight({ height }: {
|
|
2670
|
+
height: number;
|
|
2671
|
+
}): void;
|
|
2672
|
+
onActivate(event: any, group: any, fromLegend?: boolean): void;
|
|
2673
|
+
onDeactivate(event: any, group: any, fromLegend?: boolean): void;
|
|
2674
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeatMapComponent, never>;
|
|
2675
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeatMapComponent, "ngx-charts-heat-map", 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; }; "gradient": { "alias": "gradient"; "required": false; }; "innerPadding": { "alias": "innerPadding"; "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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
declare class HeatMapModule {
|
|
2679
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeatMapModule, never>;
|
|
2680
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HeatMapModule, [typeof HeatMapCellComponent, typeof HeatCellSeriesComponent, typeof HeatMapComponent], [typeof ChartCommonModule], [typeof HeatMapCellComponent, typeof HeatCellSeriesComponent, typeof HeatMapComponent]>;
|
|
2681
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HeatMapModule>;
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
interface RectItem {
|
|
2685
|
+
fill: string;
|
|
2686
|
+
height: number;
|
|
2687
|
+
rx: number;
|
|
2688
|
+
width: number;
|
|
2689
|
+
x: number;
|
|
2690
|
+
y: number;
|
|
2691
|
+
label: string;
|
|
2692
|
+
labelAnchor: string;
|
|
2693
|
+
tooltip: string;
|
|
2694
|
+
transform: string;
|
|
2695
|
+
data: any;
|
|
2696
|
+
active?: boolean;
|
|
2697
|
+
}
|
|
2698
|
+
declare class SankeyComponent extends BaseChartComponent {
|
|
2699
|
+
showLabels: boolean;
|
|
2700
|
+
gradient: boolean;
|
|
2701
|
+
tooltipDisabled: boolean;
|
|
2702
|
+
activeEntries: any[];
|
|
2703
|
+
labelFormatting: any;
|
|
2704
|
+
activate: EventEmitter<any>;
|
|
2705
|
+
deactivate: EventEmitter<any>;
|
|
2706
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2707
|
+
dims: ViewDimensions;
|
|
2708
|
+
colors: ColorHelper;
|
|
2709
|
+
colorScale: any;
|
|
2710
|
+
transform: string;
|
|
2711
|
+
margin: number[];
|
|
2712
|
+
scaleType: ScaleType;
|
|
2713
|
+
valueDomain: any[];
|
|
2714
|
+
styleTypes: typeof StyleTypes;
|
|
2715
|
+
nodeRects: RectItem[];
|
|
2716
|
+
linkPaths: any[];
|
|
2717
|
+
chartHasActive: boolean;
|
|
2718
|
+
ngOnChanges(): void;
|
|
2719
|
+
update(): void;
|
|
2720
|
+
getNodeTooltipText(node: any): string;
|
|
2721
|
+
getLinkTooltipText(sourceNode: any, targetNode: any, value: number): string;
|
|
2722
|
+
getTextAnchor(node: any): TextAnchor;
|
|
2723
|
+
onClick(data: any): void;
|
|
2724
|
+
setColors(): void;
|
|
2725
|
+
getValueDomain(nodes: any): any[];
|
|
2726
|
+
activateLink(link: any): void;
|
|
2727
|
+
deactivateLink(link: any): void;
|
|
2728
|
+
activateRect(rect: any): void;
|
|
2729
|
+
deactivateRect(rect: any): void;
|
|
2730
|
+
get hasActive(): boolean;
|
|
2731
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SankeyComponent, never>;
|
|
2732
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SankeyComponent, "ngx-charts-sankey", never, { "showLabels": { "alias": "showLabels"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
declare class SankeyModule {
|
|
2736
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SankeyModule, never>;
|
|
2737
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SankeyModule, [typeof SankeyComponent], [typeof ChartCommonModule], [typeof SankeyComponent]>;
|
|
2738
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SankeyModule>;
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
declare class LineComponent implements OnChanges, OnInit {
|
|
2742
|
+
private element;
|
|
2743
|
+
private platformId;
|
|
2744
|
+
path: string;
|
|
2745
|
+
stroke: string;
|
|
2746
|
+
data: Series;
|
|
2747
|
+
fill: string;
|
|
2748
|
+
animations: boolean;
|
|
2749
|
+
initialized: boolean;
|
|
2750
|
+
initialPath: string;
|
|
2751
|
+
isSSR: boolean;
|
|
2752
|
+
constructor(element: ElementRef, platformId: any);
|
|
2753
|
+
ngOnInit(): void;
|
|
2754
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2755
|
+
updatePathEl(): void;
|
|
2756
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineComponent, never>;
|
|
2757
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LineComponent, "g[ngx-charts-line]", never, { "path": { "alias": "path"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; "data": { "alias": "data"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, {}, never, never, false, never>;
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
declare class LineChartComponent extends BaseChartComponent implements OnInit {
|
|
2761
|
+
legend: boolean;
|
|
2762
|
+
legendTitle: string;
|
|
2763
|
+
legendPosition: LegendPosition;
|
|
2764
|
+
xAxis: boolean;
|
|
2765
|
+
yAxis: boolean;
|
|
2766
|
+
showXAxisLabel: boolean;
|
|
2767
|
+
showYAxisLabel: boolean;
|
|
2768
|
+
xAxisLabel: string;
|
|
2769
|
+
yAxisLabel: string;
|
|
2770
|
+
autoScale: boolean;
|
|
2771
|
+
timeline: boolean;
|
|
2772
|
+
gradient: boolean;
|
|
2773
|
+
showGridLines: boolean;
|
|
2774
|
+
curve: any;
|
|
2775
|
+
activeEntries: any[];
|
|
2776
|
+
schemeType: ScaleType;
|
|
2777
|
+
rangeFillOpacity: number;
|
|
2778
|
+
trimXAxisTicks: boolean;
|
|
2779
|
+
trimYAxisTicks: boolean;
|
|
2780
|
+
rotateXAxisTicks: boolean;
|
|
2781
|
+
maxXAxisTickLength: number;
|
|
2782
|
+
maxYAxisTickLength: number;
|
|
2783
|
+
xAxisTickFormatting: any;
|
|
2784
|
+
yAxisTickFormatting: any;
|
|
2785
|
+
xAxisTicks: any[];
|
|
2786
|
+
yAxisTicks: any[];
|
|
2787
|
+
roundDomains: boolean;
|
|
2788
|
+
tooltipDisabled: boolean;
|
|
2789
|
+
showRefLines: boolean;
|
|
2790
|
+
referenceLines: any;
|
|
2791
|
+
showRefLabels: boolean;
|
|
2792
|
+
xScaleMin: number;
|
|
2793
|
+
xScaleMax: number;
|
|
2794
|
+
yScaleMin: number;
|
|
2795
|
+
yScaleMax: number;
|
|
2796
|
+
wrapTicks: boolean;
|
|
2797
|
+
activate: EventEmitter<any>;
|
|
2798
|
+
deactivate: EventEmitter<any>;
|
|
2799
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2800
|
+
seriesTooltipTemplate: TemplateRef<any>;
|
|
2801
|
+
dims: ViewDimensions;
|
|
2802
|
+
xSet: any;
|
|
2803
|
+
xDomain: any;
|
|
2804
|
+
yDomain: [number, number];
|
|
2805
|
+
seriesDomain: any;
|
|
2806
|
+
yScale: any;
|
|
2807
|
+
xScale: any;
|
|
2808
|
+
colors: ColorHelper;
|
|
2809
|
+
scaleType: ScaleType;
|
|
2810
|
+
transform: string;
|
|
2811
|
+
clipPath: string;
|
|
2812
|
+
clipPathId: string;
|
|
2813
|
+
areaPath: any;
|
|
2814
|
+
margin: number[];
|
|
2815
|
+
hoveredVertical: any;
|
|
2816
|
+
xAxisHeight: number;
|
|
2817
|
+
yAxisWidth: number;
|
|
2818
|
+
filteredDomain: any;
|
|
2819
|
+
legendOptions: any;
|
|
2820
|
+
hasRange: boolean;
|
|
2821
|
+
timelineWidth: any;
|
|
2822
|
+
timelineHeight: number;
|
|
2823
|
+
timelineXScale: any;
|
|
2824
|
+
timelineYScale: any;
|
|
2825
|
+
timelineXDomain: any;
|
|
2826
|
+
timelineTransform: any;
|
|
2827
|
+
timelinePadding: number;
|
|
2828
|
+
isSSR: boolean;
|
|
2829
|
+
ngOnInit(): void;
|
|
2830
|
+
ngOnChanges(): void;
|
|
2831
|
+
update(): void;
|
|
2832
|
+
updateTimeline(): void;
|
|
2833
|
+
getXDomain(): any[];
|
|
2834
|
+
getYDomain(): [number, number];
|
|
2835
|
+
getSeriesDomain(): string[];
|
|
2836
|
+
getXScale(domain: any, width: number): any;
|
|
2837
|
+
getYScale(domain: any, height: number): any;
|
|
2838
|
+
updateDomain(domain: any): void;
|
|
2839
|
+
updateHoveredVertical(item: any): void;
|
|
2840
|
+
hideCircles(): void;
|
|
2841
|
+
onClick(data: any): void;
|
|
2842
|
+
trackBy(index: number, item: any): string;
|
|
2843
|
+
setColors(): void;
|
|
2844
|
+
getLegendOptions(): LegendOptions;
|
|
2845
|
+
updateYAxisWidth({ width }: {
|
|
2846
|
+
width: number;
|
|
2847
|
+
}): void;
|
|
2848
|
+
updateXAxisHeight({ height }: {
|
|
2849
|
+
height: number;
|
|
2850
|
+
}): void;
|
|
2851
|
+
onActivate(item: any): void;
|
|
2852
|
+
onDeactivate(item: any): void;
|
|
2853
|
+
deactivateAll(): void;
|
|
2854
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
2855
|
+
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>;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
declare class LineSeriesComponent implements OnChanges {
|
|
2859
|
+
data: Series;
|
|
2860
|
+
xScale: any;
|
|
2861
|
+
yScale: any;
|
|
2862
|
+
colors: ColorHelper;
|
|
2863
|
+
scaleType: ScaleType;
|
|
2864
|
+
curve: any;
|
|
2865
|
+
activeEntries: any[];
|
|
2866
|
+
rangeFillOpacity: number;
|
|
2867
|
+
hasRange: boolean;
|
|
2868
|
+
animations: boolean;
|
|
2869
|
+
path: string;
|
|
2870
|
+
outerPath: string;
|
|
2871
|
+
areaPath: string;
|
|
2872
|
+
gradientId: string;
|
|
2873
|
+
gradientUrl: string;
|
|
2874
|
+
hasGradient: boolean;
|
|
2875
|
+
gradientStops: Gradient[];
|
|
2876
|
+
areaGradientStops: Gradient[];
|
|
2877
|
+
stroke: string;
|
|
2878
|
+
barOrientation: typeof BarOrientation;
|
|
2879
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2880
|
+
update(): void;
|
|
2881
|
+
getLineGenerator(): any;
|
|
2882
|
+
getRangeGenerator(): any;
|
|
2883
|
+
getAreaGenerator(): any;
|
|
2884
|
+
sortData(data: any): any;
|
|
2885
|
+
updateGradients(): void;
|
|
2886
|
+
isActive(entry: any): boolean;
|
|
2887
|
+
isInactive(entry: any): boolean;
|
|
2888
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineSeriesComponent, never>;
|
|
2889
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LineSeriesComponent, "g[ngx-charts-line-series]", never, { "data": { "alias": "data"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "rangeFillOpacity": { "alias": "rangeFillOpacity"; "required": false; }; "hasRange": { "alias": "hasRange"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, {}, never, never, false, never>;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2892
|
+
declare class LineChartModule {
|
|
2893
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineChartModule, never>;
|
|
2894
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LineChartModule, [typeof LineComponent, typeof LineChartComponent, typeof LineSeriesComponent], [typeof ChartCommonModule], [typeof LineComponent, typeof LineChartComponent, typeof LineSeriesComponent]>;
|
|
2895
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LineChartModule>;
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2898
|
+
declare class PolarChartComponent extends BaseChartComponent implements OnInit {
|
|
2899
|
+
legend: boolean;
|
|
2900
|
+
legendTitle: string;
|
|
2901
|
+
legendPosition: LegendPosition;
|
|
2902
|
+
xAxis: boolean;
|
|
2903
|
+
yAxis: boolean;
|
|
2904
|
+
showXAxisLabel: boolean;
|
|
2905
|
+
showYAxisLabel: boolean;
|
|
2906
|
+
xAxisLabel: string;
|
|
2907
|
+
yAxisLabel: string;
|
|
2908
|
+
autoScale: boolean;
|
|
2909
|
+
showGridLines: boolean;
|
|
2910
|
+
curve: any;
|
|
2911
|
+
activeEntries: any[];
|
|
2912
|
+
schemeType: ScaleType;
|
|
2913
|
+
rangeFillOpacity: number;
|
|
2914
|
+
trimYAxisTicks: boolean;
|
|
2915
|
+
maxYAxisTickLength: number;
|
|
2916
|
+
xAxisTickFormatting: (o: any) => any;
|
|
2917
|
+
yAxisTickFormatting: (o: any) => any;
|
|
2918
|
+
roundDomains: boolean;
|
|
2919
|
+
tooltipDisabled: boolean;
|
|
2920
|
+
showSeriesOnHover: boolean;
|
|
2921
|
+
gradient: boolean;
|
|
2922
|
+
yAxisMinScale: number;
|
|
2923
|
+
labelTrim: boolean;
|
|
2924
|
+
labelTrimSize: number;
|
|
2925
|
+
wrapTicks: boolean;
|
|
2926
|
+
activate: EventEmitter<any>;
|
|
2927
|
+
deactivate: EventEmitter<any>;
|
|
2928
|
+
tooltipTemplate: TemplateRef<any>;
|
|
2929
|
+
dims: ViewDimensions;
|
|
2930
|
+
yAxisDims: ViewDimensions;
|
|
2931
|
+
labelOffset: number;
|
|
2932
|
+
xDomain: any;
|
|
2933
|
+
yDomain: any;
|
|
2934
|
+
seriesDomain: any;
|
|
2935
|
+
yScale: any;
|
|
2936
|
+
xScale: any;
|
|
2937
|
+
yAxisScale: any;
|
|
2938
|
+
colors: ColorHelper;
|
|
2939
|
+
scaleType: ScaleType;
|
|
2940
|
+
transform: string;
|
|
2941
|
+
transformPlot: string;
|
|
2942
|
+
transformYAxis: string;
|
|
2943
|
+
transformXAxis: string;
|
|
2944
|
+
margin: number[];
|
|
2945
|
+
xAxisHeight: number;
|
|
2946
|
+
yAxisWidth: number;
|
|
2947
|
+
filteredDomain: any;
|
|
2948
|
+
legendOptions: any;
|
|
2949
|
+
thetaTicks: any[];
|
|
2950
|
+
radiusTicks: number[];
|
|
2951
|
+
outerRadius: number;
|
|
2952
|
+
orientation: typeof Orientation;
|
|
2953
|
+
isSSR: boolean;
|
|
2954
|
+
ngOnInit(): void;
|
|
2955
|
+
ngOnChanges(): void;
|
|
2956
|
+
update(): void;
|
|
2957
|
+
setDims(): void;
|
|
2958
|
+
setScales(): void;
|
|
2959
|
+
setTicks(): void;
|
|
2960
|
+
getXValues(): any[];
|
|
2961
|
+
getXDomain(values?: any[]): any[];
|
|
2962
|
+
getYValues(): any[];
|
|
2963
|
+
getYDomain(domain?: any[]): any[];
|
|
2964
|
+
getSeriesDomain(): any[];
|
|
2965
|
+
getXScale(domain: any, width: number): any;
|
|
2966
|
+
getYScale(domain: any, height: number): any;
|
|
2967
|
+
onClick(data: any, series?: any): void;
|
|
2968
|
+
setColors(): void;
|
|
2969
|
+
getLegendOptions(): {
|
|
2970
|
+
scaleType: ScaleType.Ordinal;
|
|
2971
|
+
colors: ColorHelper;
|
|
2972
|
+
domain: any;
|
|
2973
|
+
title: string;
|
|
2974
|
+
position: LegendPosition;
|
|
2975
|
+
} | {
|
|
2976
|
+
scaleType: ScaleType.Time | ScaleType.Linear | ScaleType.Quantile;
|
|
2977
|
+
colors: any;
|
|
2978
|
+
domain: any;
|
|
2979
|
+
title: any;
|
|
2980
|
+
position: LegendPosition;
|
|
2981
|
+
};
|
|
2982
|
+
updateYAxisWidth({ width }: {
|
|
2983
|
+
width: number;
|
|
2984
|
+
}): void;
|
|
2985
|
+
updateXAxisHeight({ height }: {
|
|
2986
|
+
height: number;
|
|
2987
|
+
}): void;
|
|
2988
|
+
onActivate(item: any): void;
|
|
2989
|
+
onDeactivate(item: any): void;
|
|
2990
|
+
deactivateAll(): void;
|
|
2991
|
+
trackBy(index: number, item: any): string;
|
|
2992
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PolarChartComponent, never>;
|
|
2993
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PolarChartComponent, "ngx-charts-polar-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; }; "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; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "showSeriesOnHover": { "alias": "showSeriesOnHover"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "yAxisMinScale": { "alias": "yAxisMinScale"; "required": false; }; "labelTrim": { "alias": "labelTrim"; "required": false; }; "labelTrimSize": { "alias": "labelTrimSize"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
interface PolarChartCircle {
|
|
2997
|
+
color: string;
|
|
2998
|
+
cx: number;
|
|
2999
|
+
cy: number;
|
|
3000
|
+
data: Series;
|
|
3001
|
+
label: string;
|
|
3002
|
+
value: number;
|
|
3003
|
+
}
|
|
3004
|
+
declare class PolarSeriesComponent implements OnChanges {
|
|
3005
|
+
name: any;
|
|
3006
|
+
data: any;
|
|
3007
|
+
xScale: any;
|
|
3008
|
+
yScale: any;
|
|
3009
|
+
colors: any;
|
|
3010
|
+
scaleType: any;
|
|
3011
|
+
curve: any;
|
|
3012
|
+
activeEntries: any[];
|
|
3013
|
+
rangeFillOpacity: number;
|
|
3014
|
+
tooltipDisabled: boolean;
|
|
3015
|
+
tooltipText: (o: any) => string;
|
|
3016
|
+
gradient: boolean;
|
|
3017
|
+
tooltipTemplate: TemplateRef<any>;
|
|
3018
|
+
animations: boolean;
|
|
3019
|
+
select: EventEmitter<any>;
|
|
3020
|
+
activate: EventEmitter<any>;
|
|
3021
|
+
deactivate: EventEmitter<any>;
|
|
3022
|
+
path: string;
|
|
3023
|
+
circles: PolarChartCircle[];
|
|
3024
|
+
circleRadius: number;
|
|
3025
|
+
areaPath: string;
|
|
3026
|
+
gradientId: string;
|
|
3027
|
+
gradientUrl: string;
|
|
3028
|
+
hasGradient: boolean;
|
|
3029
|
+
gradientStops: any[];
|
|
3030
|
+
areaGradientStops: any[];
|
|
3031
|
+
seriesColor: string;
|
|
3032
|
+
active: boolean;
|
|
3033
|
+
inactive: boolean;
|
|
3034
|
+
barOrientation: typeof BarOrientation;
|
|
3035
|
+
placementTypes: typeof PlacementTypes;
|
|
3036
|
+
styleTypes: typeof StyleTypes;
|
|
3037
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3038
|
+
update(): void;
|
|
3039
|
+
getAngle(d: DataItem): any;
|
|
3040
|
+
getRadius(d: DataItem): any;
|
|
3041
|
+
getLineGenerator(): any;
|
|
3042
|
+
sortData(data: DataItem): any[];
|
|
3043
|
+
isActive(entry: DataItem): boolean;
|
|
3044
|
+
isInactive(entry: DataItem): boolean;
|
|
3045
|
+
defaultTooltipText({ label, value }: {
|
|
3046
|
+
label: string;
|
|
3047
|
+
value: number;
|
|
3048
|
+
}): string;
|
|
3049
|
+
updateGradients(): void;
|
|
3050
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PolarSeriesComponent, never>;
|
|
3051
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PolarSeriesComponent, "g[ngx-charts-polar-series]", never, { "name": { "alias": "name"; "required": false; }; "data": { "alias": "data"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "rangeFillOpacity": { "alias": "rangeFillOpacity"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
declare class AdvancedPieChartComponent extends BaseChartComponent {
|
|
3055
|
+
gradient: boolean;
|
|
3056
|
+
activeEntries: any[];
|
|
3057
|
+
tooltipDisabled: boolean;
|
|
3058
|
+
tooltipText: any;
|
|
3059
|
+
label: string;
|
|
3060
|
+
activate: EventEmitter<any>;
|
|
3061
|
+
deactivate: EventEmitter<any>;
|
|
3062
|
+
tooltipTemplate: TemplateRef<any>;
|
|
3063
|
+
dims: ViewDimensions;
|
|
3064
|
+
domain: string[];
|
|
3065
|
+
outerRadius: number;
|
|
3066
|
+
innerRadius: number;
|
|
3067
|
+
transform: string;
|
|
3068
|
+
colors: ColorHelper;
|
|
3069
|
+
legendWidth: number;
|
|
3070
|
+
margin: number[];
|
|
3071
|
+
valueFormatting: (value: number) => any;
|
|
3072
|
+
nameFormatting: (value: string) => any;
|
|
3073
|
+
percentageFormatting: (value: number) => any;
|
|
3074
|
+
ngOnChanges(): void;
|
|
3075
|
+
update(): void;
|
|
3076
|
+
getDomain(): string[];
|
|
3077
|
+
onClick(data: DataItem): void;
|
|
3078
|
+
setColors(): void;
|
|
3079
|
+
onActivate(item: any, fromLegend?: boolean): void;
|
|
3080
|
+
onDeactivate(item: any, fromLegend?: boolean): void;
|
|
3081
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedPieChartComponent, never>;
|
|
3082
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedPieChartComponent, "ngx-charts-advanced-pie-chart", never, { "gradient": { "alias": "gradient"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "nameFormatting": { "alias": "nameFormatting"; "required": false; }; "percentageFormatting": { "alias": "percentageFormatting"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
3083
|
+
}
|
|
3084
|
+
|
|
3085
|
+
interface PieData extends DefaultArcObject {
|
|
3086
|
+
data: DataItem;
|
|
3087
|
+
index: number;
|
|
3088
|
+
pos: [number, number];
|
|
3089
|
+
value: number;
|
|
3090
|
+
}
|
|
3091
|
+
declare class PieLabelComponent implements OnChanges {
|
|
3092
|
+
platformId: any;
|
|
3093
|
+
data: PieData;
|
|
3094
|
+
radius: number;
|
|
3095
|
+
label: string;
|
|
3096
|
+
color: string;
|
|
3097
|
+
max: number;
|
|
3098
|
+
value: number;
|
|
3099
|
+
explodeSlices: boolean;
|
|
3100
|
+
animations: boolean;
|
|
3101
|
+
labelTrim: boolean;
|
|
3102
|
+
labelTrimSize: number;
|
|
3103
|
+
trimLabel: (label: string, max?: number) => string;
|
|
3104
|
+
line: string;
|
|
3105
|
+
styleTransform: string;
|
|
3106
|
+
attrTransform: string;
|
|
3107
|
+
textTransition: string;
|
|
3108
|
+
constructor(platformId: any);
|
|
3109
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3110
|
+
setTransforms(): void;
|
|
3111
|
+
update(): void;
|
|
3112
|
+
get textX(): number;
|
|
3113
|
+
get textY(): number;
|
|
3114
|
+
textAnchor(): TextAnchor;
|
|
3115
|
+
midAngle(d: any): number;
|
|
3116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PieLabelComponent, never>;
|
|
3117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PieLabelComponent, "g[ngx-charts-pie-label]", never, { "data": { "alias": "data"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; "explodeSlices": { "alias": "explodeSlices"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; "labelTrim": { "alias": "labelTrim"; "required": false; }; "labelTrimSize": { "alias": "labelTrimSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
declare class PieArcComponent implements OnChanges {
|
|
3121
|
+
fill: string;
|
|
3122
|
+
startAngle: number;
|
|
3123
|
+
endAngle: number;
|
|
3124
|
+
innerRadius: number;
|
|
3125
|
+
outerRadius: number;
|
|
3126
|
+
cornerRadius: number;
|
|
3127
|
+
value: number;
|
|
3128
|
+
max: number;
|
|
3129
|
+
data: DataItem;
|
|
3130
|
+
explodeSlices: boolean;
|
|
3131
|
+
gradient: boolean;
|
|
3132
|
+
animate: boolean;
|
|
3133
|
+
pointerEvents: boolean;
|
|
3134
|
+
isActive: boolean;
|
|
3135
|
+
select: EventEmitter<any>;
|
|
3136
|
+
activate: EventEmitter<any>;
|
|
3137
|
+
deactivate: EventEmitter<any>;
|
|
3138
|
+
dblclick: EventEmitter<any>;
|
|
3139
|
+
barOrientation: typeof BarOrientation;
|
|
3140
|
+
element: HTMLElement;
|
|
3141
|
+
path: any;
|
|
3142
|
+
startOpacity: number;
|
|
3143
|
+
radialGradientId: string;
|
|
3144
|
+
gradientFill: string;
|
|
3145
|
+
initialized: boolean;
|
|
3146
|
+
private _timeout;
|
|
3147
|
+
constructor(element: ElementRef);
|
|
3148
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3149
|
+
getGradient(): string;
|
|
3150
|
+
getPointerEvents(): string;
|
|
3151
|
+
update(): void;
|
|
3152
|
+
calculateArc(): any;
|
|
3153
|
+
loadAnimation(): void;
|
|
3154
|
+
updateAnimation(): void;
|
|
3155
|
+
onClick(): void;
|
|
3156
|
+
onDblClick(event: MouseEvent): void;
|
|
3157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PieArcComponent, never>;
|
|
3158
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PieArcComponent, "g[ngx-charts-pie-arc]", never, { "fill": { "alias": "fill"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "endAngle": { "alias": "endAngle"; "required": false; }; "innerRadius": { "alias": "innerRadius"; "required": false; }; "outerRadius": { "alias": "outerRadius"; "required": false; }; "cornerRadius": { "alias": "cornerRadius"; "required": false; }; "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; "data": { "alias": "data"; "required": false; }; "explodeSlices": { "alias": "explodeSlices"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "pointerEvents": { "alias": "pointerEvents"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; "dblclick": "dblclick"; }, never, never, false, never>;
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3161
|
+
declare class PieChartComponent extends BaseChartComponent {
|
|
3162
|
+
labels: boolean;
|
|
3163
|
+
legend: boolean;
|
|
3164
|
+
legendTitle: string;
|
|
3165
|
+
legendPosition: LegendPosition;
|
|
3166
|
+
explodeSlices: boolean;
|
|
3167
|
+
doughnut: boolean;
|
|
3168
|
+
arcWidth: number;
|
|
3169
|
+
gradient: boolean;
|
|
3170
|
+
activeEntries: any[];
|
|
3171
|
+
tooltipDisabled: boolean;
|
|
3172
|
+
labelFormatting: any;
|
|
3173
|
+
trimLabels: boolean;
|
|
3174
|
+
maxLabelLength: number;
|
|
3175
|
+
tooltipText: any;
|
|
3176
|
+
dblclick: EventEmitter<any>;
|
|
3177
|
+
margins: number[];
|
|
3178
|
+
select: EventEmitter<any>;
|
|
3179
|
+
activate: EventEmitter<any>;
|
|
3180
|
+
deactivate: EventEmitter<any>;
|
|
3181
|
+
tooltipTemplate: TemplateRef<any>;
|
|
3182
|
+
translation: string;
|
|
3183
|
+
outerRadius: number;
|
|
3184
|
+
innerRadius: number;
|
|
3185
|
+
data: DataItem[];
|
|
3186
|
+
colors: ColorHelper;
|
|
3187
|
+
domain: string[];
|
|
3188
|
+
dims: ViewDimensions;
|
|
3189
|
+
legendOptions: LegendOptions;
|
|
3190
|
+
ngOnChanges(): void;
|
|
3191
|
+
update(): void;
|
|
3192
|
+
getDomain(): string[];
|
|
3193
|
+
onClick(data: DataItem | string): void;
|
|
3194
|
+
setColors(): void;
|
|
3195
|
+
getLegendOptions(): LegendOptions;
|
|
3196
|
+
onActivate(item: any, fromLegend?: boolean): void;
|
|
3197
|
+
onDeactivate(item: any, fromLegend?: boolean): void;
|
|
3198
|
+
private hasNoOptionalMarginsSet;
|
|
3199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
3200
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PieChartComponent, "ngx-charts-pie-chart", never, { "labels": { "alias": "labels"; "required": false; }; "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "explodeSlices": { "alias": "explodeSlices"; "required": false; }; "doughnut": { "alias": "doughnut"; "required": false; }; "arcWidth": { "alias": "arcWidth"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "trimLabels": { "alias": "trimLabels"; "required": false; }; "maxLabelLength": { "alias": "maxLabelLength"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "margins": { "alias": "margins"; "required": false; }; }, { "dblclick": "dblclick"; "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3203
|
+
declare class PieGridComponent extends BaseChartComponent {
|
|
3204
|
+
designatedTotal: number;
|
|
3205
|
+
tooltipDisabled: boolean;
|
|
3206
|
+
tooltipText: (o: any) => any;
|
|
3207
|
+
label: string;
|
|
3208
|
+
minWidth: number;
|
|
3209
|
+
activeEntries: any[];
|
|
3210
|
+
activate: EventEmitter<any>;
|
|
3211
|
+
deactivate: EventEmitter<any>;
|
|
3212
|
+
dims: ViewDimensions;
|
|
3213
|
+
data: PieGridData[];
|
|
3214
|
+
transform: string;
|
|
3215
|
+
series: any[];
|
|
3216
|
+
domain: string[];
|
|
3217
|
+
colorScale: ColorHelper;
|
|
3218
|
+
margin: number[];
|
|
3219
|
+
placementTypes: typeof PlacementTypes;
|
|
3220
|
+
styleTypes: typeof StyleTypes;
|
|
3221
|
+
tooltipTemplate: TemplateRef<any>;
|
|
3222
|
+
ngOnChanges(): void;
|
|
3223
|
+
update(): void;
|
|
3224
|
+
defaultTooltipText({ data }: {
|
|
3225
|
+
data: any;
|
|
3226
|
+
}): string;
|
|
3227
|
+
getDomain(): string[];
|
|
3228
|
+
getSeries(): any[];
|
|
3229
|
+
getTotal(): any;
|
|
3230
|
+
onClick(data: DataItem): void;
|
|
3231
|
+
setColors(): void;
|
|
3232
|
+
onActivate(item: any, fromLegend?: boolean): void;
|
|
3233
|
+
onDeactivate(item: any, fromLegend?: boolean): void;
|
|
3234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PieGridComponent, never>;
|
|
3235
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PieGridComponent, "ngx-charts-pie-grid", never, { "designatedTotal": { "alias": "designatedTotal"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3238
|
+
interface PieArc {
|
|
3239
|
+
animate: boolean;
|
|
3240
|
+
class: string;
|
|
3241
|
+
data: PieGridDataItem;
|
|
3242
|
+
endAngle: number;
|
|
3243
|
+
fill: string;
|
|
3244
|
+
pointerEvents: boolean;
|
|
3245
|
+
startAngle: number;
|
|
3246
|
+
}
|
|
3247
|
+
declare class PieGridSeriesComponent implements OnChanges {
|
|
3248
|
+
colors: any;
|
|
3249
|
+
data: PieGridData[];
|
|
3250
|
+
innerRadius: number;
|
|
3251
|
+
outerRadius: number;
|
|
3252
|
+
animations: boolean;
|
|
3253
|
+
select: EventEmitter<any>;
|
|
3254
|
+
activate: EventEmitter<any>;
|
|
3255
|
+
deactivate: EventEmitter<any>;
|
|
3256
|
+
element: HTMLElement;
|
|
3257
|
+
layout: any;
|
|
3258
|
+
arcs: PieArc[];
|
|
3259
|
+
constructor(element: ElementRef);
|
|
3260
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3261
|
+
update(): void;
|
|
3262
|
+
getArcs(): PieArc[];
|
|
3263
|
+
onClick(data: any): void;
|
|
3264
|
+
trackBy(index: any, item: any): string;
|
|
3265
|
+
label(arc: any): string;
|
|
3266
|
+
color(arc: any): string;
|
|
3267
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PieGridSeriesComponent, never>;
|
|
3268
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PieGridSeriesComponent, "g[ngx-charts-pie-grid-series]", never, { "colors": { "alias": "colors"; "required": false; }; "data": { "alias": "data"; "required": false; }; "innerRadius": { "alias": "innerRadius"; "required": false; }; "outerRadius": { "alias": "outerRadius"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
declare class PieSeriesComponent implements OnChanges {
|
|
3272
|
+
colors: ColorHelper;
|
|
3273
|
+
series: DataItem[];
|
|
3274
|
+
dims: ViewDimensions;
|
|
3275
|
+
innerRadius: number;
|
|
3276
|
+
outerRadius: number;
|
|
3277
|
+
explodeSlices: boolean;
|
|
3278
|
+
showLabels: boolean;
|
|
3279
|
+
gradient: boolean;
|
|
3280
|
+
activeEntries: any[];
|
|
3281
|
+
labelFormatting: any;
|
|
3282
|
+
trimLabels: boolean;
|
|
3283
|
+
maxLabelLength: number;
|
|
3284
|
+
tooltipText: (o: any) => any;
|
|
3285
|
+
tooltipDisabled: boolean;
|
|
3286
|
+
tooltipTemplate: TemplateRef<any>;
|
|
3287
|
+
animations: boolean;
|
|
3288
|
+
select: EventEmitter<any>;
|
|
3289
|
+
activate: EventEmitter<any>;
|
|
3290
|
+
deactivate: EventEmitter<any>;
|
|
3291
|
+
dblclick: EventEmitter<any>;
|
|
3292
|
+
max: number;
|
|
3293
|
+
data: PieData[];
|
|
3294
|
+
placementTypes: typeof PlacementTypes;
|
|
3295
|
+
styleTypes: typeof StyleTypes;
|
|
3296
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3297
|
+
update(): void;
|
|
3298
|
+
midAngle(d: any): number;
|
|
3299
|
+
outerArc(): any;
|
|
3300
|
+
calculateLabelPositions(pieData: any): any;
|
|
3301
|
+
labelVisible(myArc: any): boolean;
|
|
3302
|
+
getTooltipTitle(a: any): any;
|
|
3303
|
+
labelText(myArc: any): string;
|
|
3304
|
+
label(myArc: any): string;
|
|
3305
|
+
defaultTooltipText(myArc: any): string;
|
|
3306
|
+
color(myArc: any): any;
|
|
3307
|
+
trackBy(index: any, item: any): string;
|
|
3308
|
+
onClick(data: any): void;
|
|
3309
|
+
isActive(entry: any): boolean;
|
|
3310
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PieSeriesComponent, never>;
|
|
3311
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PieSeriesComponent, "g[ngx-charts-pie-series]", never, { "colors": { "alias": "colors"; "required": false; }; "series": { "alias": "series"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "innerRadius": { "alias": "innerRadius"; "required": false; }; "outerRadius": { "alias": "outerRadius"; "required": false; }; "explodeSlices": { "alias": "explodeSlices"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "trimLabels": { "alias": "trimLabels"; "required": false; }; "maxLabelLength": { "alias": "maxLabelLength"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; "dblclick": "dblclick"; }, never, never, false, never>;
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
declare class PieChartModule {
|
|
3315
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PieChartModule, never>;
|
|
3316
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PieChartModule, [typeof AdvancedPieChartComponent, typeof PieLabelComponent, typeof PieArcComponent, typeof PieChartComponent, typeof PieGridComponent, typeof PieGridSeriesComponent, typeof PieSeriesComponent], [typeof ChartCommonModule], [typeof AdvancedPieChartComponent, typeof PieLabelComponent, typeof PieArcComponent, typeof PieChartComponent, typeof PieGridComponent, typeof PieGridSeriesComponent, typeof PieSeriesComponent]>;
|
|
3317
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PieChartModule>;
|
|
3318
|
+
}
|
|
3319
|
+
|
|
3320
|
+
declare class PolarChartModule {
|
|
3321
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PolarChartModule, never>;
|
|
3322
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PolarChartModule, [typeof PolarChartComponent, typeof PolarSeriesComponent], [typeof ChartCommonModule, typeof PieChartModule, typeof LineChartModule], [typeof PolarChartComponent, typeof PolarSeriesComponent]>;
|
|
3323
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PolarChartModule>;
|
|
3324
|
+
}
|
|
3325
|
+
|
|
3326
|
+
interface GridItem {
|
|
3327
|
+
data: GridData;
|
|
3328
|
+
height: number;
|
|
3329
|
+
width: number;
|
|
3330
|
+
x: number;
|
|
3331
|
+
y: number;
|
|
3332
|
+
}
|
|
3333
|
+
interface GridData {
|
|
3334
|
+
extra?: any;
|
|
3335
|
+
label: string;
|
|
3336
|
+
name: StringOrNumberOrDate;
|
|
3337
|
+
percent: number;
|
|
3338
|
+
total: number;
|
|
3339
|
+
value: number;
|
|
3340
|
+
}
|
|
3341
|
+
declare function gridSize(dims: ViewDimensions, len: number, minWidth: number): [number, number];
|
|
3342
|
+
declare function gridLayout(dims: ViewDimensions, data: GridData[], minWidth: number, designatedTotal: number): GridItem[];
|
|
3343
|
+
|
|
3344
|
+
declare class CardComponent implements OnChanges, OnDestroy, OnInit {
|
|
3345
|
+
private cd;
|
|
3346
|
+
private zone;
|
|
3347
|
+
private platformId;
|
|
3348
|
+
color: string;
|
|
3349
|
+
bandColor: string;
|
|
3350
|
+
textColor: string;
|
|
3351
|
+
x: number;
|
|
3352
|
+
y: number;
|
|
3353
|
+
width: number;
|
|
3354
|
+
height: number;
|
|
3355
|
+
label: string;
|
|
3356
|
+
data: GridData;
|
|
3357
|
+
medianSize: number;
|
|
3358
|
+
valueFormatting: any;
|
|
3359
|
+
labelFormatting: any;
|
|
3360
|
+
animations: boolean;
|
|
3361
|
+
select: EventEmitter<any>;
|
|
3362
|
+
textEl: ElementRef;
|
|
3363
|
+
element: HTMLElement;
|
|
3364
|
+
value: string;
|
|
3365
|
+
transform: string;
|
|
3366
|
+
formattedLabel: string;
|
|
3367
|
+
cardWidth: number;
|
|
3368
|
+
cardHeight: number;
|
|
3369
|
+
textWidth: number;
|
|
3370
|
+
textFontSize: number;
|
|
3371
|
+
textTransform: string;
|
|
3372
|
+
initialized: boolean;
|
|
3373
|
+
animationReq: number;
|
|
3374
|
+
bandHeight: number;
|
|
3375
|
+
transformBand: string;
|
|
3376
|
+
textPadding: number[];
|
|
3377
|
+
labelFontSize: number;
|
|
3378
|
+
bandPath: string;
|
|
3379
|
+
constructor(element: ElementRef, cd: ChangeDetectorRef, zone: NgZone, platformId: any);
|
|
3380
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3381
|
+
ngOnInit(): void;
|
|
3382
|
+
ngOnDestroy(): void;
|
|
3383
|
+
update(): void;
|
|
3384
|
+
paddedValue(value: string): string;
|
|
3385
|
+
startCount(): void;
|
|
3386
|
+
scaleText(): void;
|
|
3387
|
+
scaleTextSSR(): void;
|
|
3388
|
+
setPadding(): void;
|
|
3389
|
+
onClick(): void;
|
|
3390
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
3391
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "g[ngx-charts-card]", never, { "color": { "alias": "color"; "required": false; }; "bandColor": { "alias": "bandColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "label": { "alias": "label"; "required": false; }; "data": { "alias": "data"; "required": false; }; "medianSize": { "alias": "medianSize"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3394
|
+
interface CardModel extends GridItem {
|
|
3395
|
+
color: string;
|
|
3396
|
+
tooltipText: string;
|
|
3397
|
+
textColor: string;
|
|
3398
|
+
bandColor: string;
|
|
3399
|
+
label: string;
|
|
3400
|
+
}
|
|
3401
|
+
declare class CardSeriesComponent implements OnChanges {
|
|
3402
|
+
data: CardModel[];
|
|
3403
|
+
dims: ViewDimensions;
|
|
3404
|
+
colors: ColorHelper;
|
|
3405
|
+
innerPadding: number;
|
|
3406
|
+
cardColor: string;
|
|
3407
|
+
bandColor: string;
|
|
3408
|
+
emptyColor: string;
|
|
3409
|
+
textColor: string;
|
|
3410
|
+
valueFormatting: any;
|
|
3411
|
+
labelFormatting: any;
|
|
3412
|
+
animations: boolean;
|
|
3413
|
+
select: EventEmitter<any>;
|
|
3414
|
+
cards: CardModel[];
|
|
3415
|
+
emptySlots: any[];
|
|
3416
|
+
medianSize: number;
|
|
3417
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3418
|
+
update(): void;
|
|
3419
|
+
getCards(): CardModel[];
|
|
3420
|
+
trackBy(index: any, card: any): string;
|
|
3421
|
+
onClick(data: any): void;
|
|
3422
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSeriesComponent, never>;
|
|
3423
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSeriesComponent, "g[ngx-charts-card-series]", never, { "data": { "alias": "data"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "innerPadding": { "alias": "innerPadding"; "required": false; }; "cardColor": { "alias": "cardColor"; "required": false; }; "bandColor": { "alias": "bandColor"; "required": false; }; "emptyColor": { "alias": "emptyColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3426
|
+
declare class NumberCardComponent extends BaseChartComponent {
|
|
3427
|
+
cardColor: string;
|
|
3428
|
+
bandColor: string;
|
|
3429
|
+
emptyColor: string;
|
|
3430
|
+
innerPadding: number;
|
|
3431
|
+
textColor: string;
|
|
3432
|
+
valueFormatting: any;
|
|
3433
|
+
labelFormatting: any;
|
|
3434
|
+
designatedTotal: number;
|
|
3435
|
+
dims: ViewDimensions;
|
|
3436
|
+
data: CardModel[];
|
|
3437
|
+
colors: ColorHelper;
|
|
3438
|
+
transform: string;
|
|
3439
|
+
domain: any[];
|
|
3440
|
+
margin: number[];
|
|
3441
|
+
ngOnChanges(): void;
|
|
3442
|
+
get clickable(): boolean;
|
|
3443
|
+
update(): void;
|
|
3444
|
+
getDomain(): string[];
|
|
3445
|
+
onClick(data: any): void;
|
|
3446
|
+
setColors(): void;
|
|
3447
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberCardComponent, never>;
|
|
3448
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberCardComponent, "ngx-charts-number-card", never, { "cardColor": { "alias": "cardColor"; "required": false; }; "bandColor": { "alias": "bandColor"; "required": false; }; "emptyColor": { "alias": "emptyColor"; "required": false; }; "innerPadding": { "alias": "innerPadding"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "designatedTotal": { "alias": "designatedTotal"; "required": false; }; }, {}, never, never, false, never>;
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
declare class NumberCardModule {
|
|
3452
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberCardModule, never>;
|
|
3453
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NumberCardModule, [typeof CardComponent, typeof CardSeriesComponent, typeof NumberCardComponent], [typeof ChartCommonModule], [typeof CardComponent, typeof CardSeriesComponent, typeof NumberCardComponent]>;
|
|
3454
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NumberCardModule>;
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
declare class TreeMapCellComponent implements OnChanges {
|
|
3458
|
+
data: DataItem;
|
|
3459
|
+
fill: string;
|
|
3460
|
+
x: number;
|
|
3461
|
+
y: number;
|
|
3462
|
+
width: number;
|
|
3463
|
+
height: number;
|
|
3464
|
+
label: string;
|
|
3465
|
+
value: any;
|
|
3466
|
+
valueFormatting: any;
|
|
3467
|
+
labelFormatting: any;
|
|
3468
|
+
gradient: boolean;
|
|
3469
|
+
animations: boolean;
|
|
3470
|
+
select: EventEmitter<any>;
|
|
3471
|
+
gradientStops: Gradient[];
|
|
3472
|
+
gradientId: string;
|
|
3473
|
+
gradientUrl: string;
|
|
3474
|
+
element: HTMLElement;
|
|
3475
|
+
transform: string;
|
|
3476
|
+
formattedLabel: string;
|
|
3477
|
+
formattedValue: string;
|
|
3478
|
+
initialized: boolean;
|
|
3479
|
+
orientation: typeof BarOrientation;
|
|
3480
|
+
constructor(element: ElementRef);
|
|
3481
|
+
ngOnChanges(): void;
|
|
3482
|
+
update(): void;
|
|
3483
|
+
loadAnimation(): void;
|
|
3484
|
+
getTextColor(): string;
|
|
3485
|
+
animateToCurrentForm(): void;
|
|
3486
|
+
onClick(): void;
|
|
3487
|
+
getGradientStops(): Gradient[];
|
|
3488
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapCellComponent, never>;
|
|
3489
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapCellComponent, "g[ngx-charts-tree-map-cell]", never, { "data": { "alias": "data"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3492
|
+
interface TreeMapCell {
|
|
3493
|
+
data: DataItem;
|
|
3494
|
+
fill: string;
|
|
3495
|
+
height: number;
|
|
3496
|
+
label: string;
|
|
3497
|
+
value: any;
|
|
3498
|
+
width: number;
|
|
3499
|
+
x: number;
|
|
3500
|
+
y: number;
|
|
3501
|
+
}
|
|
3502
|
+
declare class TreeMapCellSeriesComponent implements OnChanges {
|
|
3503
|
+
data: any;
|
|
3504
|
+
dims: ViewDimensions;
|
|
3505
|
+
colors: ColorHelper;
|
|
3506
|
+
valueFormatting: any;
|
|
3507
|
+
labelFormatting: any;
|
|
3508
|
+
gradient: boolean;
|
|
3509
|
+
tooltipDisabled: boolean;
|
|
3510
|
+
tooltipTemplate: TemplateRef<any>;
|
|
3511
|
+
animations: boolean;
|
|
3512
|
+
select: EventEmitter<any>;
|
|
3513
|
+
cells: TreeMapCell[];
|
|
3514
|
+
styleTypes: typeof StyleTypes;
|
|
3515
|
+
placementTypes: typeof PlacementTypes;
|
|
3516
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3517
|
+
getCells(): TreeMapCell[];
|
|
3518
|
+
getTooltipText({ label, value }: {
|
|
3519
|
+
label: any;
|
|
3520
|
+
value: any;
|
|
3521
|
+
}): string;
|
|
3522
|
+
onClick(data: any): void;
|
|
3523
|
+
trackBy(index: any, item: any): string;
|
|
3524
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapCellSeriesComponent, never>;
|
|
3525
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapCellSeriesComponent, "g[ngx-charts-tree-map-cell-series]", never, { "data": { "alias": "data"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
declare class TreeMapComponent extends BaseChartComponent {
|
|
3529
|
+
results: DataItem[];
|
|
3530
|
+
tooltipDisabled: boolean;
|
|
3531
|
+
valueFormatting: any;
|
|
3532
|
+
labelFormatting: any;
|
|
3533
|
+
gradient: boolean;
|
|
3534
|
+
select: EventEmitter<any>;
|
|
3535
|
+
tooltipTemplate: TemplateRef<any>;
|
|
3536
|
+
dims: ViewDimensions;
|
|
3537
|
+
domain: any;
|
|
3538
|
+
transform: any;
|
|
3539
|
+
colors: ColorHelper;
|
|
3540
|
+
treemap: any;
|
|
3541
|
+
data: DataItem;
|
|
3542
|
+
margin: number[];
|
|
3543
|
+
ngOnChanges(): void;
|
|
3544
|
+
update(): void;
|
|
3545
|
+
getDomain(): any[];
|
|
3546
|
+
onClick(data: DataItem): void;
|
|
3547
|
+
setColors(): void;
|
|
3548
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapComponent, never>;
|
|
3549
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapComponent, "ngx-charts-tree-map", never, { "results": { "alias": "results"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; }, { "select": "select"; }, ["tooltipTemplate"], never, false, never>;
|
|
3550
|
+
}
|
|
3551
|
+
|
|
3552
|
+
declare class TreeMapModule {
|
|
3553
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapModule, never>;
|
|
3554
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TreeMapModule, [typeof TreeMapCellComponent, typeof TreeMapCellSeriesComponent, typeof TreeMapComponent], [typeof ChartCommonModule], [typeof TreeMapCellComponent, typeof TreeMapCellSeriesComponent, typeof TreeMapComponent]>;
|
|
3555
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TreeMapModule>;
|
|
3556
|
+
}
|
|
3557
|
+
|
|
3558
|
+
declare enum ElementType {
|
|
3559
|
+
Value = "value",
|
|
3560
|
+
Units = "units"
|
|
3561
|
+
}
|
|
3562
|
+
declare class LinearGaugeComponent extends BaseChartComponent implements AfterViewInit {
|
|
3563
|
+
min: number;
|
|
3564
|
+
max: number;
|
|
3565
|
+
value: number;
|
|
3566
|
+
units: string;
|
|
3567
|
+
previousValue: number;
|
|
3568
|
+
valueFormatting: any;
|
|
3569
|
+
valueTextEl: ElementRef;
|
|
3570
|
+
unitsTextEl: ElementRef;
|
|
3571
|
+
dims: ViewDimensions;
|
|
3572
|
+
valueDomain: [number, number];
|
|
3573
|
+
valueScale: any;
|
|
3574
|
+
colors: ColorHelper;
|
|
3575
|
+
transform: string;
|
|
3576
|
+
margin: number[];
|
|
3577
|
+
transformLine: string;
|
|
3578
|
+
valueResizeScale: number;
|
|
3579
|
+
unitsResizeScale: number;
|
|
3580
|
+
valueTextTransform: string;
|
|
3581
|
+
valueTranslate: string;
|
|
3582
|
+
unitsTextTransform: string;
|
|
3583
|
+
unitsTranslate: string;
|
|
3584
|
+
displayValue: string;
|
|
3585
|
+
hasPreviousValue: boolean;
|
|
3586
|
+
barOrientation: typeof BarOrientation;
|
|
3587
|
+
ngAfterViewInit(): void;
|
|
3588
|
+
ngOnChanges(): void;
|
|
3589
|
+
update(): void;
|
|
3590
|
+
getValueDomain(): [number, number];
|
|
3591
|
+
getValueScale(): any;
|
|
3592
|
+
getDisplayValue(): string;
|
|
3593
|
+
scaleText(element: ElementType, repeat?: boolean): void;
|
|
3594
|
+
scaleTextSSR(element: any): void;
|
|
3595
|
+
onClick(): void;
|
|
3596
|
+
setColors(): void;
|
|
3597
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinearGaugeComponent, never>;
|
|
3598
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinearGaugeComponent, "ngx-charts-linear-gauge", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; "units": { "alias": "units"; "required": false; }; "previousValue": { "alias": "previousValue"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; }, {}, never, never, false, never>;
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3601
|
+
interface ArcItem {
|
|
3602
|
+
data: DataItem;
|
|
3603
|
+
endAngle: number;
|
|
3604
|
+
innerRadius: number;
|
|
3605
|
+
outerRadius: number;
|
|
3606
|
+
}
|
|
3607
|
+
declare class GaugeArcComponent {
|
|
3608
|
+
backgroundArc: ArcItem;
|
|
3609
|
+
valueArc: ArcItem;
|
|
3610
|
+
cornerRadius: number;
|
|
3611
|
+
colors: ColorHelper;
|
|
3612
|
+
isActive: boolean;
|
|
3613
|
+
tooltipDisabled: boolean;
|
|
3614
|
+
valueFormatting: (value: any) => string;
|
|
3615
|
+
tooltipTemplate: TemplateRef<any>;
|
|
3616
|
+
animations: boolean;
|
|
3617
|
+
select: EventEmitter<any>;
|
|
3618
|
+
activate: EventEmitter<any>;
|
|
3619
|
+
deactivate: EventEmitter<any>;
|
|
3620
|
+
placementTypes: typeof PlacementTypes;
|
|
3621
|
+
styleTypes: typeof StyleTypes;
|
|
3622
|
+
tooltipText(arc: ArcItem): string;
|
|
3623
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaugeArcComponent, never>;
|
|
3624
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaugeArcComponent, "g[ngx-charts-gauge-arc]", never, { "backgroundArc": { "alias": "backgroundArc"; "required": false; }; "valueArc": { "alias": "valueArc"; "required": false; }; "cornerRadius": { "alias": "cornerRadius"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
interface Arcs {
|
|
3628
|
+
backgroundArc: ArcItem;
|
|
3629
|
+
valueArc: ArcItem;
|
|
3630
|
+
}
|
|
3631
|
+
declare class GaugeComponent extends BaseChartComponent implements AfterViewInit {
|
|
3632
|
+
legend: boolean;
|
|
3633
|
+
legendTitle: string;
|
|
3634
|
+
legendPosition: LegendPosition;
|
|
3635
|
+
min: number;
|
|
3636
|
+
max: number;
|
|
3637
|
+
textValue: string;
|
|
3638
|
+
units: string;
|
|
3639
|
+
bigSegments: number;
|
|
3640
|
+
smallSegments: number;
|
|
3641
|
+
results: any[];
|
|
3642
|
+
showAxis: boolean;
|
|
3643
|
+
startAngle: number;
|
|
3644
|
+
angleSpan: number;
|
|
3645
|
+
activeEntries: any[];
|
|
3646
|
+
axisTickFormatting: any;
|
|
3647
|
+
tooltipDisabled: boolean;
|
|
3648
|
+
valueFormatting: (value: any) => string;
|
|
3649
|
+
showText: boolean;
|
|
3650
|
+
margin: number[];
|
|
3651
|
+
activate: EventEmitter<any>;
|
|
3652
|
+
deactivate: EventEmitter<any>;
|
|
3653
|
+
tooltipTemplate: TemplateRef<any>;
|
|
3654
|
+
textEl: ElementRef;
|
|
3655
|
+
dims: ViewDimensions;
|
|
3656
|
+
domain: any[];
|
|
3657
|
+
valueDomain: [number, number];
|
|
3658
|
+
valueScale: any;
|
|
3659
|
+
colors: ColorHelper;
|
|
3660
|
+
transform: string;
|
|
3661
|
+
outerRadius: number;
|
|
3662
|
+
textRadius: number;
|
|
3663
|
+
resizeScale: number;
|
|
3664
|
+
rotation: string;
|
|
3665
|
+
textTransform: string;
|
|
3666
|
+
cornerRadius: number;
|
|
3667
|
+
arcs: Arcs[];
|
|
3668
|
+
displayValue: string;
|
|
3669
|
+
legendOptions: LegendOptions;
|
|
3670
|
+
ngOnChanges(): void;
|
|
3671
|
+
ngAfterViewInit(): void;
|
|
3672
|
+
update(): void;
|
|
3673
|
+
getArcs(): any[];
|
|
3674
|
+
getDomain(): string[];
|
|
3675
|
+
getValueDomain(): [number, number];
|
|
3676
|
+
getValueScale(): any;
|
|
3677
|
+
getDisplayValue(): string;
|
|
3678
|
+
scaleText(repeat?: boolean): void;
|
|
3679
|
+
onClick(data: any): void;
|
|
3680
|
+
getLegendOptions(): LegendOptions;
|
|
3681
|
+
setColors(): void;
|
|
3682
|
+
onActivate(item: any): void;
|
|
3683
|
+
onDeactivate(item: any): void;
|
|
3684
|
+
isActive(entry: any): boolean;
|
|
3685
|
+
trackBy(index: number, item: Arcs): any;
|
|
3686
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaugeComponent, never>;
|
|
3687
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaugeComponent, "ngx-charts-gauge", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "textValue": { "alias": "textValue"; "required": false; }; "units": { "alias": "units"; "required": false; }; "bigSegments": { "alias": "bigSegments"; "required": false; }; "smallSegments": { "alias": "smallSegments"; "required": false; }; "results": { "alias": "results"; "required": false; }; "showAxis": { "alias": "showAxis"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "angleSpan": { "alias": "angleSpan"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "axisTickFormatting": { "alias": "axisTickFormatting"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3690
|
+
interface Big {
|
|
3691
|
+
line: string;
|
|
3692
|
+
text: string;
|
|
3693
|
+
textAnchor: string;
|
|
3694
|
+
textTransform: string;
|
|
3695
|
+
}
|
|
3696
|
+
interface Ticks {
|
|
3697
|
+
big: Big[];
|
|
3698
|
+
small: Array<{
|
|
3699
|
+
line: string;
|
|
3700
|
+
}>;
|
|
3701
|
+
}
|
|
3702
|
+
declare class GaugeAxisComponent implements OnChanges {
|
|
3703
|
+
bigSegments: number;
|
|
3704
|
+
smallSegments: number;
|
|
3705
|
+
min: number;
|
|
3706
|
+
max: number;
|
|
3707
|
+
angleSpan: number;
|
|
3708
|
+
startAngle: number;
|
|
3709
|
+
radius: number;
|
|
3710
|
+
valueScale: any;
|
|
3711
|
+
tickFormatting: any;
|
|
3712
|
+
ticks: Ticks;
|
|
3713
|
+
rotationAngle: number;
|
|
3714
|
+
rotate: string;
|
|
3715
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3716
|
+
update(): void;
|
|
3717
|
+
getTicks(): Ticks;
|
|
3718
|
+
getTextAnchor(angle: number): TextAnchor;
|
|
3719
|
+
getTickPath(startDistance: number, tickLength: number, angle: number): any;
|
|
3720
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaugeAxisComponent, never>;
|
|
3721
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaugeAxisComponent, "g[ngx-charts-gauge-axis]", never, { "bigSegments": { "alias": "bigSegments"; "required": false; }; "smallSegments": { "alias": "smallSegments"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "angleSpan": { "alias": "angleSpan"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "valueScale": { "alias": "valueScale"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; }, {}, never, never, false, never>;
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3724
|
+
declare class PercentGaugeComponent extends BaseChartComponent {
|
|
3725
|
+
max: number;
|
|
3726
|
+
value: number;
|
|
3727
|
+
target: number;
|
|
3728
|
+
targetLabel: string;
|
|
3729
|
+
label: string;
|
|
3730
|
+
valueFormatting: any;
|
|
3731
|
+
showLabel: boolean;
|
|
3732
|
+
defaultMargin: number[];
|
|
3733
|
+
margin: number[];
|
|
3734
|
+
dims: ViewDimensions;
|
|
3735
|
+
colors: ColorHelper;
|
|
3736
|
+
radius: number;
|
|
3737
|
+
transform: string;
|
|
3738
|
+
targetTransform: string;
|
|
3739
|
+
targetColor: string;
|
|
3740
|
+
targetRadius: number;
|
|
3741
|
+
targetTextTransform: string;
|
|
3742
|
+
circleMaskId: string;
|
|
3743
|
+
circleTransform: string;
|
|
3744
|
+
ticks: any[];
|
|
3745
|
+
ticHeight: number;
|
|
3746
|
+
dashes: string;
|
|
3747
|
+
valueDomain: [number, number];
|
|
3748
|
+
valueFontSize: number;
|
|
3749
|
+
displayValue: string;
|
|
3750
|
+
percent: number;
|
|
3751
|
+
circumference: number;
|
|
3752
|
+
labelTransform: string;
|
|
3753
|
+
update(): void;
|
|
3754
|
+
generateCirclePoints(radius: number, numPoints: number): {
|
|
3755
|
+
x: number;
|
|
3756
|
+
y: number;
|
|
3757
|
+
}[];
|
|
3758
|
+
generateticks(): void;
|
|
3759
|
+
getValueDomain(): [number, number];
|
|
3760
|
+
getDisplayValue(): string;
|
|
3761
|
+
getPercentage(): number;
|
|
3762
|
+
onClick(): void;
|
|
3763
|
+
setColors(): void;
|
|
3764
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PercentGaugeComponent, never>;
|
|
3765
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PercentGaugeComponent, "ngx-charts-percent-gauge", never, { "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetLabel": { "alias": "targetLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
3766
|
+
}
|
|
3767
|
+
|
|
3768
|
+
declare class GaugeModule {
|
|
3769
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaugeModule, never>;
|
|
3770
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GaugeModule, [typeof LinearGaugeComponent, typeof GaugeComponent, typeof GaugeArcComponent, typeof GaugeAxisComponent, typeof PercentGaugeComponent], [typeof ChartCommonModule, typeof PieChartModule, typeof BarChartModule], [typeof LinearGaugeComponent, typeof GaugeComponent, typeof GaugeArcComponent, typeof GaugeAxisComponent, typeof PercentGaugeComponent]>;
|
|
3771
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GaugeModule>;
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3774
|
+
declare class NgxChartsModule {
|
|
3775
|
+
constructor();
|
|
3776
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxChartsModule, never>;
|
|
3777
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxChartsModule, never, never, [typeof ChartCommonModule, typeof AreaChartModule, typeof BarChartModule, typeof BoxChartModule, typeof BubbleChartModule, typeof HeatMapModule, typeof SankeyModule, typeof LineChartModule, typeof PolarChartModule, typeof NumberCardModule, typeof PieChartModule, typeof TreeMapModule, typeof GaugeModule]>;
|
|
3778
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgxChartsModule>;
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3781
|
+
declare enum D0Types {
|
|
3782
|
+
positive = "positive",
|
|
3783
|
+
negative = "negative"
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
declare function getDomain(values: any[], scaleType: ScaleType, autoScale: boolean, minVal?: number, maxVal?: number): number[];
|
|
3787
|
+
declare function getScale(domain: number[], range: number[], scaleType: ScaleType, roundDomains: boolean): ScaleTime<number, number> | ScaleLinear<number, number> | ScalePoint<string>;
|
|
3788
|
+
|
|
3789
|
+
declare function reduceTicks(ticks: any[], maxTicks: number): any[];
|
|
3790
|
+
declare function getTickLines(label: string, maxLength: number, maxLines: number): string[];
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* Counts from a number to the end incrementally.
|
|
3794
|
+
*/
|
|
3795
|
+
declare function count(countFrom: number, countTo: number, countDecimals: number, countDuration: number, callback: any): number;
|
|
3796
|
+
/**
|
|
3797
|
+
* Determine decimals places
|
|
3798
|
+
*
|
|
3799
|
+
* @export
|
|
3800
|
+
*/
|
|
3801
|
+
declare function decimalChecker(countTo: number): number;
|
|
3802
|
+
|
|
3803
|
+
declare function tickFormat(fieldType: any, groupByType: any): (label: string) => string;
|
|
3804
|
+
|
|
3805
|
+
declare function trimLabel(s: any, max?: number): string;
|
|
3806
|
+
|
|
3807
|
+
declare function calculateViewDimensions({ width, height, margins, showXAxis, showYAxis, xAxisHeight, yAxisWidth, showXLabel, showYLabel, showLegend, legendType, legendPosition, columns }: {
|
|
3808
|
+
width: any;
|
|
3809
|
+
height: any;
|
|
3810
|
+
margins: any;
|
|
3811
|
+
showXAxis?: boolean;
|
|
3812
|
+
showYAxis?: boolean;
|
|
3813
|
+
xAxisHeight?: number;
|
|
3814
|
+
yAxisWidth?: number;
|
|
3815
|
+
showXLabel?: boolean;
|
|
3816
|
+
showYLabel?: boolean;
|
|
3817
|
+
showLegend?: boolean;
|
|
3818
|
+
legendType?: ScaleType;
|
|
3819
|
+
legendPosition?: LegendPosition;
|
|
3820
|
+
columns?: number;
|
|
3821
|
+
}): ViewDimensions;
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* Formats a label given a date, number or string.
|
|
3825
|
+
*
|
|
3826
|
+
* @export
|
|
3827
|
+
*/
|
|
3828
|
+
declare function formatLabel(label: any): string;
|
|
3829
|
+
/**
|
|
3830
|
+
* Escapes a label.
|
|
3831
|
+
*
|
|
3832
|
+
* @export
|
|
3833
|
+
*/
|
|
3834
|
+
declare function escapeLabel(label: any): string;
|
|
3835
|
+
|
|
3836
|
+
/**
|
|
3837
|
+
* Based on the data, return an array with unique values.
|
|
3838
|
+
*
|
|
3839
|
+
* @export
|
|
3840
|
+
* @returns array
|
|
3841
|
+
*/
|
|
3842
|
+
declare function getUniqueXDomainValues(results: any[]): any[];
|
|
3843
|
+
/**
|
|
3844
|
+
* Get the scaleType of enumerable of values.
|
|
3845
|
+
* @returns 'time', 'linear' or 'ordinal'
|
|
3846
|
+
*/
|
|
3847
|
+
declare function getScaleType(values: any[], checkDateType?: boolean): ScaleType;
|
|
3848
|
+
declare function getXDomainArray(values: Array<string | number | Date>, xScaleMin?: number, xScaleMax?: number): {
|
|
3849
|
+
domain: any[];
|
|
3850
|
+
xSet: any[];
|
|
3851
|
+
scaleType: string;
|
|
3852
|
+
};
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* Generates a short id.
|
|
3856
|
+
*
|
|
3857
|
+
* Description:
|
|
3858
|
+
* A 4-character alphanumeric sequence (364 = 1.6 million)
|
|
3859
|
+
* This should only be used for JavaScript specific models.
|
|
3860
|
+
* http://stackoverflow.com/questions/6248666/how-to-generate-short-uid-like-ax4j9z-in-js
|
|
3861
|
+
*
|
|
3862
|
+
* Example: `ebgf`
|
|
3863
|
+
*/
|
|
3864
|
+
declare function id(): string;
|
|
3865
|
+
|
|
3866
|
+
declare function sortLinear(data: any, property: string, direction?: string): any[];
|
|
3867
|
+
declare function sortByDomain(data: any, property: string, direction: string, domain: any): any[];
|
|
3868
|
+
declare function sortByTime(data: any, property: string, direction?: string): any[];
|
|
3869
|
+
|
|
3870
|
+
/**
|
|
3871
|
+
* Throttle a function
|
|
3872
|
+
*
|
|
3873
|
+
*/
|
|
3874
|
+
declare function throttle(func: any, wait: number, options?: any): () => any;
|
|
3875
|
+
/**
|
|
3876
|
+
* Throttle decorator
|
|
3877
|
+
*
|
|
3878
|
+
* class MyClass {
|
|
3879
|
+
* throttleable(10)
|
|
3880
|
+
* myFn() { ... }
|
|
3881
|
+
* }
|
|
3882
|
+
*/
|
|
3883
|
+
declare function throttleable(duration: number, options?: any): (target: any, key: any, descriptor: any) => {
|
|
3884
|
+
configurable: boolean;
|
|
3885
|
+
enumerable: any;
|
|
3886
|
+
get: () => any;
|
|
3887
|
+
};
|
|
3888
|
+
|
|
3889
|
+
/**
|
|
3890
|
+
* Converts a hex to RGB
|
|
3891
|
+
*
|
|
3892
|
+
* @export
|
|
3893
|
+
*/
|
|
3894
|
+
declare function hexToRgb(value: string): any;
|
|
3895
|
+
/**
|
|
3896
|
+
* Accepts a color (string) and returns a inverted hex color (string)
|
|
3897
|
+
* http://stackoverflow.com/questions/9600295/automatically-change-text-color-to-assure-readability
|
|
3898
|
+
*
|
|
3899
|
+
* @export
|
|
3900
|
+
*/
|
|
3901
|
+
declare function invertColor(value: string): string;
|
|
3902
|
+
/**
|
|
3903
|
+
* Given a rgb, it will darken/lighten
|
|
3904
|
+
* http://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors
|
|
3905
|
+
*
|
|
3906
|
+
* @export
|
|
3907
|
+
* @param \{ r, g, b }
|
|
3908
|
+
*/
|
|
3909
|
+
declare function shadeRGBColor({ r, g, b }: {
|
|
3910
|
+
r: any;
|
|
3911
|
+
g: any;
|
|
3912
|
+
b: any;
|
|
3913
|
+
}, percent: number): string;
|
|
3914
|
+
|
|
3915
|
+
export { AdvancedLegendComponent, AdvancedPieChartComponent, AreaChartComponent, AreaChartModule, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaComponent, AreaSeriesComponent, AxesModule, AxisLabelComponent, BarChartModule, BarChartType, BarComponent, BarHorizontal2DComponent, BarHorizontalComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarLabelComponent, BarOrientation, BarVertical2DComponent, BarVerticalComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BaseChartComponent, BoxChartComponent, BoxChartModule, BoxComponent, BoxSeriesComponent, BubbleChartComponent, BubbleChartModule, BubbleSeriesComponent, CardComponent, CardSeriesComponent, ChartCommonModule, ChartComponent, CircleComponent, CircleSeriesComponent, ColorHelper, CountUpDirective, D0Types, GaugeArcComponent, GaugeAxisComponent, GaugeComponent, GaugeModule, GridPanelComponent, GridPanelSeriesComponent, HeatCellSeriesComponent, HeatMapCellComponent, HeatMapComponent, HeatMapModule, LegendComponent, LegendEntryComponent, LegendPosition, LegendType, LineChartComponent, LineChartModule, LineComponent, LineSeriesComponent, LinearGaugeComponent, NgxChartsModule, NumberCardComponent, NumberCardModule, Orientation, PercentGaugeComponent, PieArcComponent, PieChartComponent, PieChartModule, PieGridComponent, PieGridSeriesComponent, PieLabelComponent, PieSeriesComponent, PlacementTypes, PolarChartComponent, PolarChartModule, PolarSeriesComponent, SankeyComponent, SankeyModule, ScaleLegendComponent, ScaleType, SeriesHorizontal, SeriesType, SeriesVerticalComponent, ShowTypes, StyleTypes, SvgLinearGradientComponent, SvgRadialGradientComponent, TextAnchor, Timeline, TooltipArea, TooltipContentComponent, TooltipDirective, TooltipModule, TooltipService, TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent, TreeMapModule, VisibilityObserver, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent, calculateViewDimensions, cloneLineCoordinates, clonePoint, cloneVector2d, colorSets, count, decimalChecker, escapeLabel, formatLabel, getDomain, getScale, getScaleType, getTickLines, getUniqueXDomainValues, getXDomainArray, gridLayout, gridSize, hexToRgb, id, invertColor, reduceTicks, shadeRGBColor, sortByDomain, sortByTime, sortLinear, throttle, throttleable, tickFormat, trimLabel };
|
|
3916
|
+
export type { AdvancedLegendItem, ArcItem, AreaChartDataItem, AreaChartSeries, Bar, BoxChartMultiSeries, BoxChartSeries, BubbleChartDataItem, BubbleChartMultiSeries, BubbleChartSeries, CardModel, Circle, Color, DataItem, Gradient, GridData, GridItem, IBoxModel, LegendEntry, LegendOptions, MultiSeries, PieArc, PieData, PieGridData, PieGridDataItem, SankeyData, SankeyObject, Series, SingleSeries, StringOrNumberOrDate, Tooltip, TreeMapData, TreeMapDataItem, ViewDimensions };
|