@spike-rabbit/charts-ng 49.0.0 → 49.13.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/LICENSE.md +1 -1
- package/README.md +17 -3
- package/cartesian/package.json +4 -0
- package/chart/package.json +4 -0
- package/circle/package.json +4 -0
- package/common/package.json +4 -0
- package/custom-legend/package.json +4 -0
- package/fesm2022/spike-rabbit-charts-ng-cartesian.mjs +383 -0
- package/fesm2022/spike-rabbit-charts-ng-cartesian.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-chart.mjs +59 -0
- package/fesm2022/spike-rabbit-charts-ng-chart.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-circle.mjs +91 -0
- package/fesm2022/spike-rabbit-charts-ng-circle.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-common.mjs +2383 -0
- package/fesm2022/spike-rabbit-charts-ng-common.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-custom-legend.mjs +62 -0
- package/fesm2022/spike-rabbit-charts-ng-custom-legend.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-gauge.mjs +371 -0
- package/fesm2022/spike-rabbit-charts-ng-gauge.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-loading-spinner.mjs +27 -0
- package/fesm2022/spike-rabbit-charts-ng-loading-spinner.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-progress-bar.mjs +170 -0
- package/fesm2022/spike-rabbit-charts-ng-progress-bar.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-progress.mjs +220 -0
- package/fesm2022/spike-rabbit-charts-ng-progress.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-sankey.mjs +52 -0
- package/fesm2022/spike-rabbit-charts-ng-sankey.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng-sunburst.mjs +52 -0
- package/fesm2022/spike-rabbit-charts-ng-sunburst.mjs.map +1 -0
- package/fesm2022/spike-rabbit-charts-ng.mjs +40 -3527
- package/fesm2022/spike-rabbit-charts-ng.mjs.map +1 -1
- package/gauge/package.json +4 -0
- package/loading-spinner/package.json +4 -0
- package/package.json +58 -12
- package/progress/package.json +4 -0
- package/progress-bar/package.json +4 -0
- package/projects/charts-ng/README.md +17 -3
- package/sankey/package.json +4 -0
- package/sunburst/package.json +4 -0
- package/types/spike-rabbit-charts-ng-cartesian.d.ts +91 -0
- package/types/spike-rabbit-charts-ng-chart.d.ts +9 -0
- package/types/spike-rabbit-charts-ng-circle.d.ts +74 -0
- package/{index.d.ts → types/spike-rabbit-charts-ng-common.d.ts} +102 -431
- package/types/spike-rabbit-charts-ng-custom-legend.d.ts +68 -0
- package/types/spike-rabbit-charts-ng-gauge.d.ts +96 -0
- package/types/spike-rabbit-charts-ng-loading-spinner.d.ts +8 -0
- package/types/spike-rabbit-charts-ng-progress-bar.d.ts +46 -0
- package/types/spike-rabbit-charts-ng-progress.d.ts +57 -0
- package/types/spike-rabbit-charts-ng-sankey.d.ts +19 -0
- package/types/spike-rabbit-charts-ng-sunburst.d.ts +19 -0
- package/types/spike-rabbit-charts-ng.d.ts +35 -0
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ElementRef, AfterViewInit, OnChanges, OnInit, OnDestroy, SimpleChanges } from '@angular/core';
|
|
3
1
|
import * as echarts from 'echarts/core';
|
|
4
2
|
export { echarts };
|
|
5
|
-
import
|
|
6
|
-
import { LegendComponentOption, DataZoomComponentOption, GridComponentOption, BarSeriesOption, CandlestickSeriesOption, CustomSeriesOption, GaugeSeriesOption, HeatmapSeriesOption, LineSeriesOption, PieSeriesOption, ScatterSeriesOption, SankeySeriesOption, SunburstSeriesOption, MarkAreaComponentOption, MarkPointComponentOption, MarkLineComponentOption } from 'echarts';
|
|
3
|
+
import { LegendComponentOption, DataZoomComponentOption, GridComponentOption, BarSeriesOption, CandlestickSeriesOption, CustomSeriesOption, GaugeSeriesOption, HeatmapSeriesOption, LineSeriesOption, PieSeriesOption, ScatterSeriesOption, SankeySeriesOption, SunburstSeriesOption } from 'echarts';
|
|
7
4
|
export { AxisPointerComponentOption, BarSeriesOption, BrushComponentOption, CandlestickSeriesOption, CustomSeriesOption, DataZoomComponentOption, DatasetComponentOption, GaugeSeriesOption, GridComponentOption, HeatmapSeriesOption, LegendComponentOption, LineSeriesOption, MarkAreaComponentOption, MarkLineComponentOption, MarkPointComponentOption, PieSeriesOption, PolarComponentOption, SankeySeriesOption, ScatterSeriesOption, SingleAxisComponentOption, SunburstSeriesOption, TitleComponentOption, ToolboxComponentOption, TooltipComponentOption, VisualMapComponentOption } from 'echarts';
|
|
8
|
-
import * as
|
|
5
|
+
import * as _angular_core from '@angular/core';
|
|
6
|
+
import { AfterViewInit, OnChanges, OnInit, OnDestroy, ElementRef, SimpleChanges } from '@angular/core';
|
|
7
|
+
import { SiCustomLegendComponent, CustomLegend, CustomLegendItem, CustomLegendProps } from '@spike-rabbit/charts-ng/custom-legend';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
|
-
* Copyright (c) Siemens 2016 -
|
|
10
|
+
* Copyright (c) Siemens 2016 - 2026
|
|
12
11
|
* SPDX-License-Identifier: MIT
|
|
13
12
|
*/
|
|
14
13
|
|
|
@@ -24,62 +23,10 @@ interface EChartOption {
|
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
/**
|
|
27
|
-
* Copyright (c) Siemens 2016 -
|
|
28
|
-
* SPDX-License-Identifier: MIT
|
|
29
|
-
*/
|
|
30
|
-
interface CustomLegend {
|
|
31
|
-
customLegends: [
|
|
32
|
-
{
|
|
33
|
-
list: CustomLegendItem[];
|
|
34
|
-
unit?: string;
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
list: CustomLegendItem[];
|
|
38
|
-
unit?: string;
|
|
39
|
-
}
|
|
40
|
-
];
|
|
41
|
-
legendAxis: string;
|
|
42
|
-
top?: number | string;
|
|
43
|
-
gridIndex?: number;
|
|
44
|
-
}
|
|
45
|
-
interface CustomLegendItem {
|
|
46
|
-
name: string;
|
|
47
|
-
alternativeNaming?: boolean;
|
|
48
|
-
displayName?: string;
|
|
49
|
-
color?: string;
|
|
50
|
-
selected: boolean;
|
|
51
|
-
tooltip?: string;
|
|
52
|
-
symbol?: string;
|
|
53
|
-
}
|
|
54
|
-
interface CustomLegendProps {
|
|
55
|
-
displayName?: string;
|
|
56
|
-
unit?: string;
|
|
57
|
-
tooltip?: string;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
declare class SiCustomLegendComponent {
|
|
61
|
-
/** @internal */
|
|
62
|
-
readonly customLegendContainer: _angular_core.Signal<ElementRef<any>>;
|
|
63
|
-
readonly customLegend: _angular_core.InputSignal<CustomLegend | undefined>;
|
|
64
|
-
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
65
|
-
readonly subTitle: _angular_core.InputSignal<string | undefined>;
|
|
66
|
-
readonly titleColor: _angular_core.InputSignal<string | undefined>;
|
|
67
|
-
readonly subTitleColor: _angular_core.InputSignal<string | undefined>;
|
|
68
|
-
readonly textColor: _angular_core.InputSignal<string | undefined>;
|
|
69
|
-
readonly legendIconClickEvent: _angular_core.OutputEmitterRef<CustomLegendItem>;
|
|
70
|
-
readonly legendClickEvent: _angular_core.OutputEmitterRef<CustomLegendItem>;
|
|
71
|
-
readonly legendHoverStartEvent: _angular_core.OutputEmitterRef<CustomLegendItem>;
|
|
72
|
-
readonly legendHoverEndEvent: _angular_core.OutputEmitterRef<CustomLegendItem>;
|
|
73
|
-
protected legendIconClick(legend: CustomLegendItem): void;
|
|
74
|
-
protected legendClick(legend: CustomLegendItem): void;
|
|
75
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiCustomLegendComponent, never>;
|
|
76
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiCustomLegendComponent, "si-custom-legend", never, { "customLegend": { "alias": "customLegend"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subTitle": { "alias": "subTitle"; "required": false; "isSignal": true; }; "titleColor": { "alias": "titleColor"; "required": false; "isSignal": true; }; "subTitleColor": { "alias": "subTitleColor"; "required": false; "isSignal": true; }; "textColor": { "alias": "textColor"; "required": false; "isSignal": true; }; }, { "legendIconClickEvent": "legendIconClickEvent"; "legendClickEvent": "legendClickEvent"; "legendHoverStartEvent": "legendHoverStartEvent"; "legendHoverEndEvent": "legendHoverEndEvent"; }, never, never, true, never>;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Copyright (c) Siemens 2016 - 2025
|
|
26
|
+
* Copyright (c) Siemens 2016 - 2026
|
|
81
27
|
* SPDX-License-Identifier: MIT
|
|
82
28
|
*/
|
|
29
|
+
/** */
|
|
83
30
|
type AxisType = 'value' | 'category' | 'time' | 'log';
|
|
84
31
|
type XAxisPosition = 'top' | 'bottom';
|
|
85
32
|
type YAxisPosition = 'left' | 'right';
|
|
@@ -122,16 +69,16 @@ interface AxisPointerEvent {
|
|
|
122
69
|
dataIndex?: number;
|
|
123
70
|
}
|
|
124
71
|
interface DataZoomRange {
|
|
125
|
-
startValue?:
|
|
126
|
-
endValue?:
|
|
127
|
-
visibleWidth?:
|
|
128
|
-
start?:
|
|
129
|
-
end?:
|
|
72
|
+
startValue?: number | string | Date;
|
|
73
|
+
endValue?: number | string | Date;
|
|
74
|
+
visibleWidth?: number;
|
|
75
|
+
start?: number;
|
|
76
|
+
end?: number;
|
|
130
77
|
}
|
|
131
78
|
interface DataZoomEvent {
|
|
132
79
|
rangeType: AxisType;
|
|
133
|
-
rangeStart:
|
|
134
|
-
rangeEnd:
|
|
80
|
+
rangeStart: number;
|
|
81
|
+
rangeEnd: number;
|
|
135
82
|
width?: number;
|
|
136
83
|
autoZoomUpdate?: boolean;
|
|
137
84
|
requested?: DataZoomRange;
|
|
@@ -173,7 +120,7 @@ interface SiSeriesOption {
|
|
|
173
120
|
visible?: boolean;
|
|
174
121
|
}
|
|
175
122
|
|
|
176
|
-
declare class
|
|
123
|
+
declare class SiChartBaseComponent implements AfterViewInit, OnChanges, OnInit, OnDestroy {
|
|
177
124
|
/**
|
|
178
125
|
* reference to the wrapper container. Used for setting scroll position, etc.
|
|
179
126
|
*
|
|
@@ -193,11 +140,22 @@ declare class SiChartComponent implements AfterViewInit, OnChanges, OnInit, OnDe
|
|
|
193
140
|
readonly options: _angular_core.InputSignal<EChartOption | undefined>;
|
|
194
141
|
/** Used to override specific properties set in `options`. */
|
|
195
142
|
readonly additionalOptions: _angular_core.InputSignal<EChartOption | undefined>;
|
|
143
|
+
/** The title of the chart. */
|
|
196
144
|
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
145
|
+
/** The subtitle of the chart. */
|
|
197
146
|
readonly subTitle: _angular_core.InputSignal<string | undefined>;
|
|
198
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* Show Echarts legend
|
|
149
|
+
*
|
|
150
|
+
* @defaultValue true
|
|
151
|
+
*/
|
|
199
152
|
readonly showLegend: _angular_core.ModelSignal<boolean>;
|
|
200
|
-
/**
|
|
153
|
+
/**
|
|
154
|
+
* Enable to show a custom legend.
|
|
155
|
+
* The custom legend offers additional features such as, scroll bar to avoid legend and chart overlapping,
|
|
156
|
+
* Left and right alignment of legends based on y-axis, etc and many more.
|
|
157
|
+
* @defaultValue false
|
|
158
|
+
*/
|
|
201
159
|
readonly showCustomLegend: _angular_core.InputSignal<boolean>;
|
|
202
160
|
/**
|
|
203
161
|
* the renderer to use: canvas or svg
|
|
@@ -232,10 +190,16 @@ declare class SiChartComponent implements AfterViewInit, OnChanges, OnInit, OnDe
|
|
|
232
190
|
/**
|
|
233
191
|
* Enables zooming inside the chart with the mouse wheel/touch.
|
|
234
192
|
*
|
|
193
|
+
* Whether zooming inside the chart is possible with mouse.
|
|
194
|
+
*
|
|
235
195
|
* @defaultValue false
|
|
236
196
|
*/
|
|
237
197
|
readonly zoomInside: _angular_core.InputSignal<boolean>;
|
|
238
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* Maximum number of series data points shown in the chart.
|
|
200
|
+
*
|
|
201
|
+
* @defaultValue 1000
|
|
202
|
+
*/
|
|
239
203
|
readonly maxEntries: _angular_core.InputSignal<number>;
|
|
240
204
|
/**
|
|
241
205
|
* No auto dataZoom update) by default. Use together with `autoZoomSeriesIndex`.
|
|
@@ -271,19 +235,42 @@ declare class SiChartComponent implements AfterViewInit, OnChanges, OnInit, OnDe
|
|
|
271
235
|
* @defaultValue false
|
|
272
236
|
*/
|
|
273
237
|
readonly axisPointer: _angular_core.InputSignal<string | boolean | undefined>;
|
|
238
|
+
/**
|
|
239
|
+
* Apply a specific zoom range (see {@link https://echarts.apache.org/en/option.html#dataZoom-inside}).
|
|
240
|
+
*/
|
|
274
241
|
readonly dataZoomRange: _angular_core.InputSignal<DataZoomRange | undefined>;
|
|
242
|
+
/**
|
|
243
|
+
* The lower limit of the data zoom slider (see {@link https://echarts.apache.org/en/option.html#dataZoom-slider.minValueSpan}).
|
|
244
|
+
*/
|
|
275
245
|
readonly dataZoomMinValueSpan: _angular_core.InputSignal<number | undefined>;
|
|
246
|
+
/**
|
|
247
|
+
* The upper limit of the data zoom slider (see {@link https://echarts.apache.org/en/option.html#dataZoom-slider.maxValueSpan}).
|
|
248
|
+
*/
|
|
276
249
|
readonly dataZoomMaxValueSpan: _angular_core.InputSignal<number | undefined>;
|
|
277
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* The data zoom filter mode. (see {@link https://echarts.apache.org/en/option.html#dataZoom-inside.filterMode})
|
|
252
|
+
*
|
|
253
|
+
* The value 'filter' will cause the lines to be disconnected to the outside of the chart.
|
|
254
|
+
*
|
|
255
|
+
* @defaultValue 'none'
|
|
256
|
+
*/
|
|
278
257
|
readonly dataZoomFilterMode: _angular_core.InputSignal<FilterMode>;
|
|
258
|
+
/**
|
|
259
|
+
* Enable custom legend click actions exposed by the `selectionChanged` event.
|
|
260
|
+
*/
|
|
279
261
|
readonly customLegendAction: _angular_core.InputSignal<boolean | undefined>;
|
|
280
262
|
/**
|
|
263
|
+
* Specify selected legend item.
|
|
264
|
+
*
|
|
281
265
|
* @defaultValue
|
|
282
266
|
* ```
|
|
283
267
|
* { legendItemName: '' }
|
|
284
268
|
* ```
|
|
285
269
|
*/
|
|
286
270
|
readonly selectedItem: _angular_core.InputSignal<SelectedLegendItem>;
|
|
271
|
+
/**
|
|
272
|
+
* The height of the ECharts container as decimal.
|
|
273
|
+
*/
|
|
287
274
|
readonly eChartContainerHeight: _angular_core.InputSignal<string | null | undefined>;
|
|
288
275
|
/**
|
|
289
276
|
* Flag to use external zoom slider
|
|
@@ -304,12 +291,15 @@ declare class SiChartComponent implements AfterViewInit, OnChanges, OnInit, OnDe
|
|
|
304
291
|
readonly dataZoom: _angular_core.OutputEmitterRef<DataZoomEvent>;
|
|
305
292
|
/** Event emitted when axis pointer moves. */
|
|
306
293
|
readonly pointer: _angular_core.OutputEmitterRef<AxisPointerEvent>;
|
|
294
|
+
/** Event emitted when selection changes e.g. clicking on a legend item. */
|
|
307
295
|
readonly selectionChanged: _angular_core.OutputEmitterRef<any>;
|
|
296
|
+
/** Event emitted when a chart series is clicked. */
|
|
308
297
|
readonly chartSeriesClick: _angular_core.OutputEmitterRef<LegendItem>;
|
|
309
298
|
/** Event emitted when chart grid is resized. */
|
|
310
299
|
readonly chartGridResized: _angular_core.OutputEmitterRef<GridRectCoordinate>;
|
|
300
|
+
/** Event emitted when custom legend multi-line info changes. */
|
|
311
301
|
readonly customLegendMultiLineInfoEvent: _angular_core.OutputEmitterRef<CustomLegendMultiLineInfo[]>;
|
|
312
|
-
/** Emitted when
|
|
302
|
+
/** Emitted when data zoom changes, indicating the time range in milliseconds, 0 for full range */
|
|
313
303
|
readonly timeRangeChange: _angular_core.OutputEmitterRef<number>;
|
|
314
304
|
/** Allow to override options specific for a chart type. */
|
|
315
305
|
protected actualOptions: EChartOption;
|
|
@@ -330,7 +320,6 @@ declare class SiChartComponent implements AfterViewInit, OnChanges, OnInit, OnDe
|
|
|
330
320
|
protected readonly containerHeight: _angular_core.WritableSignal<number | null>;
|
|
331
321
|
protected activeTheme: any;
|
|
332
322
|
protected autoZoomUpdate: boolean;
|
|
333
|
-
private subscriptions;
|
|
334
323
|
private prevAxisPointer;
|
|
335
324
|
private lastValidDataZoom;
|
|
336
325
|
private presetDataZoomRange?;
|
|
@@ -338,6 +327,7 @@ declare class SiChartComponent implements AfterViewInit, OnChanges, OnInit, OnDe
|
|
|
338
327
|
private requestedDataZoom?;
|
|
339
328
|
private measureCanvas?;
|
|
340
329
|
private readonly cdRef;
|
|
330
|
+
private readonly ngZone;
|
|
341
331
|
protected curWidth: number;
|
|
342
332
|
protected curHeight: number;
|
|
343
333
|
protected readonly timeBarBottom: _angular_core.WritableSignal<number>;
|
|
@@ -347,24 +337,28 @@ declare class SiChartComponent implements AfterViewInit, OnChanges, OnInit, OnDe
|
|
|
347
337
|
private gridCoordinates;
|
|
348
338
|
private customLegendsMultiLineInfo;
|
|
349
339
|
protected extZoomSliderOptions: EChartOption;
|
|
350
|
-
private echartMouseDown;
|
|
351
|
-
private echartMouseUp;
|
|
352
|
-
private echartExtSliderMouseDown;
|
|
353
|
-
private echartExtSliderMouseUp;
|
|
354
|
-
private readonly ngZone;
|
|
340
|
+
private readonly echartMouseDown;
|
|
341
|
+
private readonly echartMouseUp;
|
|
342
|
+
private readonly echartExtSliderMouseDown;
|
|
343
|
+
private readonly echartExtSliderMouseUp;
|
|
355
344
|
protected readonly shapePaths: Record<string, string>;
|
|
356
345
|
/**
|
|
357
346
|
* Allow consuming applications to re-draw chart on window resizes.
|
|
358
347
|
*/
|
|
359
348
|
resize(): void;
|
|
360
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
349
|
+
ngOnChanges(changes: SimpleChanges<unknown>): void;
|
|
361
350
|
ngOnInit(): void;
|
|
362
351
|
ngAfterViewInit(skipZoom?: boolean): void;
|
|
363
352
|
private calculateTextWidth;
|
|
364
353
|
private disposeChart;
|
|
365
354
|
ngOnDestroy(): void;
|
|
355
|
+
/**
|
|
356
|
+
* Switch theme using echarts api, which does not need reloading the whole chart.
|
|
357
|
+
*/
|
|
358
|
+
themeSwitch(): void;
|
|
366
359
|
/**
|
|
367
360
|
* Re-render the whole chart.
|
|
361
|
+
* @deprecated The method is deprecated and should not be used directly by the consumer.
|
|
368
362
|
*/
|
|
369
363
|
resetChart(): void;
|
|
370
364
|
protected handleLegendClick(legend: CustomLegendItem): void;
|
|
@@ -500,344 +494,8 @@ declare class SiChartComponent implements AfterViewInit, OnChanges, OnInit, OnDe
|
|
|
500
494
|
private gridSizeItemChanged;
|
|
501
495
|
private setContainerHeight;
|
|
502
496
|
private updateCustomLegendMultiLineInfo;
|
|
503
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
504
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* Copyright (c) Siemens 2016 - 2025
|
|
509
|
-
* SPDX-License-Identifier: MIT
|
|
510
|
-
*/
|
|
511
|
-
|
|
512
|
-
type LineStepType = 'start' | 'middle' | 'end';
|
|
513
|
-
type LineType = 'solid' | 'dashed' | 'dotted';
|
|
514
|
-
interface SubchartGrid {
|
|
515
|
-
categoryId?: string;
|
|
516
|
-
top?: number | string;
|
|
517
|
-
bottom?: number | string;
|
|
518
|
-
left?: number | string;
|
|
519
|
-
right?: number | string;
|
|
520
|
-
height?: number | string;
|
|
521
|
-
containLabel?: boolean;
|
|
522
|
-
}
|
|
523
|
-
interface SiLineSeriesOption extends LineSeriesOption, SiSeriesOption {
|
|
524
|
-
area?: boolean;
|
|
525
|
-
}
|
|
526
|
-
type SiBarSeriesOption = BarSeriesOption & SiSeriesOption;
|
|
527
|
-
type SiHeatmapSeriesOption = HeatmapSeriesOption & SiSeriesOption;
|
|
528
|
-
type SiScatterSeriesOption = ScatterSeriesOption & SiSeriesOption;
|
|
529
|
-
type SiCandlestickSeriesOption = CandlestickSeriesOption & SiSeriesOption;
|
|
530
|
-
type LineSeriesData = NonNullable<LineSeriesOption['data']>;
|
|
531
|
-
type BarSeriesData = NonNullable<BarSeriesOption['data']>;
|
|
532
|
-
type HeatmapSeriesData = NonNullable<HeatmapSeriesOption['data']>;
|
|
533
|
-
type ScatterSeriesData = NonNullable<Exclude<ScatterSeriesOption['data'], ArrayLike<number>>>;
|
|
534
|
-
type CandlestickSeriesData = NonNullable<CandlestickSeriesOption['data']>;
|
|
535
|
-
type CartesianDataNullable = LineSeriesData | BarSeriesData | HeatmapSeriesData | ScatterSeriesData | CandlestickSeriesData | never;
|
|
536
|
-
type CartesianChartData = NonNullable<CartesianDataNullable>;
|
|
537
|
-
type CartesianChartSeries = SiBarSeriesOption | SiLineSeriesOption | SiHeatmapSeriesOption | SiScatterSeriesOption | SiCandlestickSeriesOption | never;
|
|
538
|
-
type MarkAreaData = NonNullable<MarkAreaComponentOption['data']>;
|
|
539
|
-
type MarkPointData = NonNullable<MarkPointComponentOption['data']>;
|
|
540
|
-
type MarkLineData = NonNullable<MarkLineComponentOption['data']>;
|
|
541
|
-
|
|
542
|
-
declare class SiChartCartesianComponent extends SiChartComponent implements OnChanges {
|
|
543
|
-
readonly series: _angular_core.InputSignal<CartesianChartSeries[] | undefined>;
|
|
544
|
-
readonly subChartGrids: _angular_core.InputSignal<SubchartGrid[] | undefined>;
|
|
545
|
-
readonly yAxis: _angular_core.InputSignal<ChartYAxis | ChartYAxis[] | undefined>;
|
|
546
|
-
readonly xAxis: _angular_core.InputSignal<ChartXAxis | ChartXAxis[] | undefined>;
|
|
547
|
-
readonly tooltipFormatter: _angular_core.InputSignal<string | echarts$1.TooltipComponentFormatterCallback<echarts$1.TooltipComponentFormatterCallbackParams> | undefined>;
|
|
548
|
-
/**
|
|
549
|
-
* Used to display the chart as a stacked one.
|
|
550
|
-
*
|
|
551
|
-
* @defaultValue false
|
|
552
|
-
*/
|
|
553
|
-
readonly stacked: _angular_core.InputSignal<boolean>;
|
|
554
|
-
/** Enable or disable brush zoom mode */
|
|
555
|
-
readonly zoomMode: _angular_core.InputSignal<boolean | undefined>;
|
|
556
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
557
|
-
private formatTooltip;
|
|
558
|
-
/**
|
|
559
|
-
* Get the series marker svg by series name.
|
|
560
|
-
*/
|
|
561
|
-
getSeriesMarkerSvg(seriesName: string): string;
|
|
562
|
-
/**
|
|
563
|
-
* Get the series marker by series name.
|
|
564
|
-
*/
|
|
565
|
-
getSeriesMarker(seriesName: string): string;
|
|
566
|
-
protected afterChartInit(skipZoom?: boolean): void;
|
|
567
|
-
protected setZoomMode(): void;
|
|
568
|
-
protected getValidXAxis(): Set<number>;
|
|
569
|
-
protected applyOptions(): void;
|
|
570
|
-
private hasDifferentMarker;
|
|
571
|
-
private getGrid;
|
|
572
|
-
refreshSeries(isLive?: boolean, dzToSet?: DataZoomRange): void;
|
|
573
|
-
protected hasData(): boolean;
|
|
574
|
-
protected handleSelectionChanged(event: any): void;
|
|
575
|
-
/**
|
|
576
|
-
* Update single chart data entry.
|
|
577
|
-
*/
|
|
578
|
-
addData(index: number, data: CartesianChartData): void;
|
|
579
|
-
/**
|
|
580
|
-
* Append charts data entries to the end of the series.
|
|
581
|
-
*/
|
|
582
|
-
addDataMulti(series: SeriesUpdate<CartesianChartData>[]): void;
|
|
583
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartCartesianComponent, never>;
|
|
584
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiChartCartesianComponent, "si-chart-cartesian", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "subChartGrids": { "alias": "subChartGrids"; "required": false; "isSignal": true; }; "yAxis": { "alias": "yAxis"; "required": false; "isSignal": true; }; "xAxis": { "alias": "xAxis"; "required": false; "isSignal": true; }; "tooltipFormatter": { "alias": "tooltipFormatter"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "zoomMode": { "alias": "zoomMode"; "required": false; "isSignal": true; }; }, {}, never, ["[slot=timeRangeBar]"], true, never>;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* Copyright (c) Siemens 2016 - 2025
|
|
589
|
-
* SPDX-License-Identifier: MIT
|
|
590
|
-
*/
|
|
591
|
-
|
|
592
|
-
interface CircleChartData {
|
|
593
|
-
value: number;
|
|
594
|
-
name?: string;
|
|
595
|
-
label?: {
|
|
596
|
-
color?: string;
|
|
597
|
-
[key: string]: any;
|
|
598
|
-
};
|
|
599
|
-
itemStyle?: {
|
|
600
|
-
color?: string;
|
|
601
|
-
[key: string]: any;
|
|
602
|
-
};
|
|
603
|
-
}
|
|
604
|
-
interface CircleChartSeries {
|
|
605
|
-
name: string;
|
|
606
|
-
radius?: string[];
|
|
607
|
-
data: CircleChartData[];
|
|
608
|
-
label?: {
|
|
609
|
-
/**
|
|
610
|
-
* A custom label formatter based on echarts, some commonly used variations can be
|
|
611
|
-
* \{a\}: series name.
|
|
612
|
-
* \{b\}: the name of a data item.
|
|
613
|
-
* \{c\}: the value of a data item.
|
|
614
|
-
* \{d\}: the percent.
|
|
615
|
-
* See {@link https://echarts.apache.org/en/option.html#series-pie.label.formatter}
|
|
616
|
-
*/
|
|
617
|
-
formatter?: NonNullable<PieSeriesOption['label']>['formatter'];
|
|
618
|
-
};
|
|
619
|
-
}
|
|
620
|
-
interface CircleValueUpdate {
|
|
621
|
-
seriesIndex: number;
|
|
622
|
-
valueIndex: number;
|
|
623
|
-
value: number;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
declare class SiChartCircleComponent extends SiChartComponent {
|
|
627
|
-
readonly series: _angular_core.InputSignal<CircleChartSeries[] | undefined>;
|
|
628
|
-
protected applyOptions(): void;
|
|
629
|
-
protected applyDataZoom(): void;
|
|
630
|
-
/**
|
|
631
|
-
* Update single value of the circle chart.
|
|
632
|
-
*/
|
|
633
|
-
changeSingleValue(index: number, valueIndex: number, value: number): void;
|
|
634
|
-
/**
|
|
635
|
-
* Update multiple values of the circle chart.
|
|
636
|
-
*/
|
|
637
|
-
changeMultiValues(updateValues: CircleValueUpdate[]): void;
|
|
638
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartCircleComponent, never>;
|
|
639
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiChartCircleComponent, "si-chart-circle", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; }, {}, never, ["[slot=timeRangeBar]"], true, never>;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
declare class SiChartGaugeComponent extends SiChartComponent implements OnChanges {
|
|
643
|
-
/** @defaultValue 0 */
|
|
644
|
-
readonly minValue: _angular_core.InputSignal<number>;
|
|
645
|
-
/** @defaultValue 100 */
|
|
646
|
-
readonly maxValue: _angular_core.InputSignal<number>;
|
|
647
|
-
/** @defaultValue 0 */
|
|
648
|
-
readonly value: _angular_core.InputSignal<number>;
|
|
649
|
-
readonly splitSteps: _angular_core.InputSignal<number | undefined>;
|
|
650
|
-
/** @defaultValue true */
|
|
651
|
-
readonly responsiveSplitSteps: _angular_core.InputSignal<boolean>;
|
|
652
|
-
/** @defaultValue '%' */
|
|
653
|
-
readonly unit: _angular_core.InputSignal<string>;
|
|
654
|
-
/** @defaultValue false */
|
|
655
|
-
readonly unitsOnSplit: _angular_core.InputSignal<boolean>;
|
|
656
|
-
/**
|
|
657
|
-
* Custom formatter for axis labels.
|
|
658
|
-
* Takes precedence when specified, i.e. number of decimals, unit etc needs
|
|
659
|
-
* to be set by the user using this formatter.
|
|
660
|
-
*/
|
|
661
|
-
readonly labelFormatter: _angular_core.InputSignal<((val: number) => string) | undefined>;
|
|
662
|
-
/**
|
|
663
|
-
* Custom formatter for value.
|
|
664
|
-
* Takes precedence when specified, i.e. number of decimals needs
|
|
665
|
-
* to be set by the user using this formatter.
|
|
666
|
-
*/
|
|
667
|
-
readonly valueFormatter: _angular_core.InputSignal<((val: number) => string) | undefined>;
|
|
668
|
-
/**
|
|
669
|
-
* Sets the number of decimals.
|
|
670
|
-
* @deprecated Use `minNumberOfDecimals` and `maxNumberOfDecimals` instead.
|
|
671
|
-
* @defaultValue undefined */
|
|
672
|
-
readonly numberOfDecimals: _angular_core.InputSignal<number | undefined>;
|
|
673
|
-
/**
|
|
674
|
-
* Min number of decimals.
|
|
675
|
-
* @defaultValue 0
|
|
676
|
-
*/
|
|
677
|
-
readonly minNumberOfDecimals: _angular_core.InputSignal<number>;
|
|
678
|
-
/**
|
|
679
|
-
* Max number of decimals.
|
|
680
|
-
* @defaultValue 0
|
|
681
|
-
*/
|
|
682
|
-
readonly maxNumberOfDecimals: _angular_core.InputSignal<number>;
|
|
683
|
-
/**
|
|
684
|
-
* Number of decimals on the axis.
|
|
685
|
-
* @defaultValue 0
|
|
686
|
-
*/
|
|
687
|
-
readonly axisNumberOfDecimals: _angular_core.InputSignal<number>;
|
|
688
|
-
/** @defaultValue false */
|
|
689
|
-
readonly hideAxisLabels: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
690
|
-
/**
|
|
691
|
-
* Segments on the arc from 0 (implicit) to 1 (explicit)
|
|
692
|
-
* E.g. 0.2 means from 0 to 0.2 of the possible range (maxValue - minValue)
|
|
693
|
-
*
|
|
694
|
-
* @defaultValue [0.2, 0.8, 1]
|
|
695
|
-
*/
|
|
696
|
-
readonly segments: _angular_core.InputSignal<number[]>;
|
|
697
|
-
/**
|
|
698
|
-
* Colors for the defined segments.
|
|
699
|
-
* If there are less colors then segments, the colors will be repeated. Defaults to the standard color palette
|
|
700
|
-
*/
|
|
701
|
-
readonly colors: _angular_core.InputSignal<string[] | undefined>;
|
|
702
|
-
private readonly locale;
|
|
703
|
-
private readonly actualMinNumberOfDecimals;
|
|
704
|
-
private readonly actualMaxNumberOfDecimals;
|
|
705
|
-
private readonly numberFormat;
|
|
706
|
-
private readonly axisNumberFormat;
|
|
707
|
-
protected afterChartInit(): void;
|
|
708
|
-
private updateColors;
|
|
709
|
-
private setAxisLineColor;
|
|
710
|
-
private getResponsiveConfig;
|
|
711
|
-
private calcValue;
|
|
712
|
-
private axisLabelFormatter;
|
|
713
|
-
protected applyOptions(): void;
|
|
714
|
-
private valueFormatterInternal;
|
|
715
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
716
|
-
protected applyDataZoom(): void;
|
|
717
|
-
protected afterChartResize(): void;
|
|
718
|
-
/**
|
|
719
|
-
* Update gauge chart value.
|
|
720
|
-
*/
|
|
721
|
-
setValue(value: number): void;
|
|
722
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartGaugeComponent, never>;
|
|
723
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiChartGaugeComponent, "si-chart-gauge", never, { "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "splitSteps": { "alias": "splitSteps"; "required": false; "isSignal": true; }; "responsiveSplitSteps": { "alias": "responsiveSplitSteps"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "unitsOnSplit": { "alias": "unitsOnSplit"; "required": false; "isSignal": true; }; "labelFormatter": { "alias": "labelFormatter"; "required": false; "isSignal": true; }; "valueFormatter": { "alias": "valueFormatter"; "required": false; "isSignal": true; }; "numberOfDecimals": { "alias": "numberOfDecimals"; "required": false; "isSignal": true; }; "minNumberOfDecimals": { "alias": "minNumberOfDecimals"; "required": false; "isSignal": true; }; "maxNumberOfDecimals": { "alias": "maxNumberOfDecimals"; "required": false; "isSignal": true; }; "axisNumberOfDecimals": { "alias": "axisNumberOfDecimals"; "required": false; "isSignal": true; }; "hideAxisLabels": { "alias": "hideAxisLabels"; "required": false; "isSignal": true; }; "segments": { "alias": "segments"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, ["[slot=timeRangeBar]"], true, never>;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* Copyright (c) Siemens 2016 - 2025
|
|
728
|
-
* SPDX-License-Identifier: MIT
|
|
729
|
-
*/
|
|
730
|
-
interface GaugeChartSeries {
|
|
731
|
-
data: any[];
|
|
732
|
-
min: number;
|
|
733
|
-
max: number;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* Copyright (c) Siemens 2016 - 2025
|
|
738
|
-
* SPDX-License-Identifier: MIT
|
|
739
|
-
*/
|
|
740
|
-
interface ProgressChartSeries {
|
|
741
|
-
name: string;
|
|
742
|
-
percent: number;
|
|
743
|
-
}
|
|
744
|
-
interface ProgressValueUpdate {
|
|
745
|
-
seriesIndex: number;
|
|
746
|
-
percent: number;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
declare class SiChartProgressComponent extends SiChartComponent {
|
|
750
|
-
readonly series: _angular_core.InputSignal<ProgressChartSeries[] | undefined>;
|
|
751
|
-
/**
|
|
752
|
-
* How big the data can get in degrees.
|
|
753
|
-
*
|
|
754
|
-
* @defaultValue 220
|
|
755
|
-
*/
|
|
756
|
-
readonly dataAngle: _angular_core.InputSignal<number>;
|
|
757
|
-
private itemWidth;
|
|
758
|
-
private itemGap;
|
|
759
|
-
private baseRadius;
|
|
760
|
-
private sizeFactor;
|
|
761
|
-
private center;
|
|
762
|
-
private grey;
|
|
763
|
-
private startAngle;
|
|
764
|
-
protected afterChartInit(): void;
|
|
765
|
-
protected themeChanged(): void;
|
|
766
|
-
protected handleSelectionChanged(event: any): void;
|
|
767
|
-
protected applyOptions(): void;
|
|
768
|
-
private labelFormatter;
|
|
769
|
-
private addSeries;
|
|
770
|
-
private updateData;
|
|
771
|
-
private calculateRadius;
|
|
772
|
-
private updateRadius;
|
|
773
|
-
protected applyDataZoom(): void;
|
|
774
|
-
/**
|
|
775
|
-
* Update single value of the progress chart.
|
|
776
|
-
*/
|
|
777
|
-
changeSingleValue(index: number, percent: number): void;
|
|
778
|
-
/**
|
|
779
|
-
* Update multiple values of the progress chart.
|
|
780
|
-
*/
|
|
781
|
-
changeMultiValues(updateValues: ProgressValueUpdate[]): void;
|
|
782
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartProgressComponent, never>;
|
|
783
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiChartProgressComponent, "si-chart-progress", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "dataAngle": { "alias": "dataAngle"; "required": false; "isSignal": true; }; }, {}, never, ["[slot=timeRangeBar]"], true, never>;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* Copyright (c) Siemens 2016 - 2025
|
|
788
|
-
* SPDX-License-Identifier: MIT
|
|
789
|
-
*/
|
|
790
|
-
interface ProgressBarChartSeries {
|
|
791
|
-
name: string;
|
|
792
|
-
percent: number;
|
|
793
|
-
}
|
|
794
|
-
interface ProgressBarValueUpdate {
|
|
795
|
-
valueIndex: number;
|
|
796
|
-
value: number;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
declare class SiChartProgressBarComponent extends SiChartComponent {
|
|
800
|
-
readonly series: _angular_core.InputSignal<ProgressBarChartSeries[] | undefined>;
|
|
801
|
-
/** Used to display the label in inline or above the progress-bar. */
|
|
802
|
-
readonly labelPosition: _angular_core.InputSignal<string | undefined>;
|
|
803
|
-
private maxValue;
|
|
804
|
-
private xAxisConfig;
|
|
805
|
-
private yAxis;
|
|
806
|
-
private formatter;
|
|
807
|
-
private labelPositionOption;
|
|
808
|
-
private labelPositionOptionForValue;
|
|
809
|
-
private labelFormatter;
|
|
810
|
-
protected themeChanged(): void;
|
|
811
|
-
protected applyOptions(): void;
|
|
812
|
-
protected applyDataZoom(): void;
|
|
813
|
-
/**
|
|
814
|
-
* Updates single value of a single progress bar.
|
|
815
|
-
*/
|
|
816
|
-
changeSingleValue(valueIndex: number, value: number): void;
|
|
817
|
-
/**
|
|
818
|
-
* Updates multiple values of a single progress bar.
|
|
819
|
-
*/
|
|
820
|
-
changeMultiValues(updateValues: ProgressBarValueUpdate[]): void;
|
|
821
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartProgressBarComponent, never>;
|
|
822
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiChartProgressBarComponent, "si-chart-progress-bar", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; }, {}, never, ["[slot=timeRangeBar]"], true, never>;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
declare class SiChartSankeyComponent extends SiChartComponent {
|
|
826
|
-
readonly series: _angular_core.InputSignal<SankeySeriesOption | undefined>;
|
|
827
|
-
/** @defaultValue false */
|
|
828
|
-
readonly toolTip: _angular_core.InputSignal<boolean>;
|
|
829
|
-
protected applyOptions(): void;
|
|
830
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartSankeyComponent, never>;
|
|
831
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiChartSankeyComponent, "si-chart-sankey", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "toolTip": { "alias": "toolTip"; "required": false; "isSignal": true; }; }, {}, never, ["[slot=timeRangeBar]"], true, never>;
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
declare class SiChartSunburstComponent extends SiChartComponent {
|
|
835
|
-
readonly series: _angular_core.InputSignal<SunburstSeriesOption | undefined>;
|
|
836
|
-
/** @defaultValue false */
|
|
837
|
-
readonly toolTip: _angular_core.InputSignal<boolean>;
|
|
838
|
-
protected applyOptions(): void;
|
|
839
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartSunburstComponent, never>;
|
|
840
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiChartSunburstComponent, "si-chart-sunburst", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "toolTip": { "alias": "toolTip"; "required": false; "isSignal": true; }; }, {}, never, ["[slot=timeRangeBar]"], true, never>;
|
|
497
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartBaseComponent, never>;
|
|
498
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiChartBaseComponent, "si-chart-base", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "additionalOptions": { "alias": "additionalOptions"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subTitle": { "alias": "subTitle"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "showCustomLegend": { "alias": "showCustomLegend"; "required": false; "isSignal": true; }; "renderer": { "alias": "renderer"; "required": false; "isSignal": true; }; "zoomSlider": { "alias": "zoomSlider"; "required": false; "isSignal": true; }; "zoomSliderShadow": { "alias": "zoomSliderShadow"; "required": false; "isSignal": true; }; "zoomSliderRealtime": { "alias": "zoomSliderRealtime"; "required": false; "isSignal": true; }; "zoomSliderBrush": { "alias": "zoomSliderBrush"; "required": false; "isSignal": true; }; "zoomInside": { "alias": "zoomInside"; "required": false; "isSignal": true; }; "maxEntries": { "alias": "maxEntries"; "required": false; "isSignal": true; }; "visibleEntries": { "alias": "visibleEntries"; "required": false; "isSignal": true; }; "visibleRange": { "alias": "visibleRange"; "required": false; "isSignal": true; }; "autoZoomSeriesIndex": { "alias": "autoZoomSeriesIndex"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "themeCustomization": { "alias": "themeCustomization"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "axisPointer": { "alias": "axisPointer"; "required": false; "isSignal": true; }; "dataZoomRange": { "alias": "dataZoomRange"; "required": false; "isSignal": true; }; "dataZoomMinValueSpan": { "alias": "dataZoomMinValueSpan"; "required": false; "isSignal": true; }; "dataZoomMaxValueSpan": { "alias": "dataZoomMaxValueSpan"; "required": false; "isSignal": true; }; "dataZoomFilterMode": { "alias": "dataZoomFilterMode"; "required": false; "isSignal": true; }; "customLegendAction": { "alias": "customLegendAction"; "required": false; "isSignal": true; }; "selectedItem": { "alias": "selectedItem"; "required": false; "isSignal": true; }; "eChartContainerHeight": { "alias": "eChartContainerHeight"; "required": false; "isSignal": true; }; "externalZoomSlider": { "alias": "externalZoomSlider"; "required": false; "isSignal": true; }; "externalXAxisFormatter": { "alias": "externalXAxisFormatter"; "required": false; "isSignal": true; }; "showTimeRangeBar": { "alias": "showTimeRangeBar"; "required": false; "isSignal": true; }; }, { "showLegend": "showLegendChange"; "visibleEntries": "visibleEntriesChange"; "visibleRange": "visibleRangeChange"; "dataZoom": "dataZoom"; "pointer": "pointer"; "selectionChanged": "selectionChanged"; "chartSeriesClick": "chartSeriesClick"; "chartGridResized": "chartGridResized"; "customLegendMultiLineInfoEvent": "customLegendMultiLineInfoEvent"; "timeRangeChange": "timeRangeChange"; }, never, ["[slot=timeRangeBar]"], true, never>;
|
|
841
499
|
}
|
|
842
500
|
|
|
843
501
|
declare const themeSupport: {
|
|
@@ -847,11 +505,14 @@ declare const themeSupport: {
|
|
|
847
505
|
textStyle: {
|
|
848
506
|
fontFamily: string | undefined;
|
|
849
507
|
};
|
|
508
|
+
richInheritPlainLabel: boolean;
|
|
850
509
|
color: string[];
|
|
851
510
|
gradientColor: string[];
|
|
852
511
|
backgroundColor: string;
|
|
853
512
|
animationDuration: number;
|
|
854
513
|
title: {
|
|
514
|
+
left: number;
|
|
515
|
+
top: number;
|
|
855
516
|
padding: number[];
|
|
856
517
|
textStyle: {
|
|
857
518
|
fontFamily: string | undefined;
|
|
@@ -872,6 +533,7 @@ declare const themeSupport: {
|
|
|
872
533
|
left: string;
|
|
873
534
|
right: number;
|
|
874
535
|
top: number;
|
|
536
|
+
itemGap: number;
|
|
875
537
|
textStyle: {
|
|
876
538
|
fontFamily: string | undefined;
|
|
877
539
|
color: string;
|
|
@@ -975,6 +637,7 @@ declare const themeSupport: {
|
|
|
975
637
|
hideOverlap: boolean;
|
|
976
638
|
};
|
|
977
639
|
axisTick: {
|
|
640
|
+
show: boolean;
|
|
978
641
|
alignWithLabel: boolean;
|
|
979
642
|
};
|
|
980
643
|
splitLine: {
|
|
@@ -1003,6 +666,7 @@ declare const themeSupport: {
|
|
|
1003
666
|
hideOverlap: boolean;
|
|
1004
667
|
};
|
|
1005
668
|
axisTick: {
|
|
669
|
+
show: boolean;
|
|
1006
670
|
alignWithLabel: boolean;
|
|
1007
671
|
};
|
|
1008
672
|
splitLine: {
|
|
@@ -1043,6 +707,7 @@ declare const themeSupport: {
|
|
|
1043
707
|
selectedDataBackground: {
|
|
1044
708
|
areaStyle: {
|
|
1045
709
|
color: string;
|
|
710
|
+
opacity: number;
|
|
1046
711
|
};
|
|
1047
712
|
lineStyle: {
|
|
1048
713
|
color: string;
|
|
@@ -1084,9 +749,12 @@ declare const themeSupport: {
|
|
|
1084
749
|
opacity: number;
|
|
1085
750
|
};
|
|
1086
751
|
symbol: string;
|
|
752
|
+
symbolSize: number;
|
|
1087
753
|
};
|
|
1088
754
|
pie: {
|
|
755
|
+
radius: (string | number)[];
|
|
1089
756
|
label: {
|
|
757
|
+
distanceToLabelLine: number;
|
|
1090
758
|
fontFamily: string | undefined;
|
|
1091
759
|
formatter: string;
|
|
1092
760
|
color: string;
|
|
@@ -1094,6 +762,8 @@ declare const themeSupport: {
|
|
|
1094
762
|
fontSize: number;
|
|
1095
763
|
};
|
|
1096
764
|
labelLine: {
|
|
765
|
+
length: number;
|
|
766
|
+
length2: number;
|
|
1097
767
|
lineStyle: {
|
|
1098
768
|
color: string;
|
|
1099
769
|
};
|
|
@@ -1241,11 +911,14 @@ declare const themeElement: {
|
|
|
1241
911
|
textStyle: {
|
|
1242
912
|
fontFamily: string | undefined;
|
|
1243
913
|
};
|
|
914
|
+
richInheritPlainLabel: boolean;
|
|
1244
915
|
color: string[];
|
|
1245
916
|
gradientColor: string[];
|
|
1246
917
|
backgroundColor: string;
|
|
1247
918
|
animationDuration: number;
|
|
1248
919
|
title: {
|
|
920
|
+
left: number;
|
|
921
|
+
top: number;
|
|
1249
922
|
padding: number[];
|
|
1250
923
|
textStyle: {
|
|
1251
924
|
fontFamily: string | undefined;
|
|
@@ -1266,6 +939,7 @@ declare const themeElement: {
|
|
|
1266
939
|
left: string;
|
|
1267
940
|
right: number;
|
|
1268
941
|
top: number;
|
|
942
|
+
itemGap: number;
|
|
1269
943
|
textStyle: {
|
|
1270
944
|
fontFamily: string | undefined;
|
|
1271
945
|
color: string;
|
|
@@ -1369,6 +1043,7 @@ declare const themeElement: {
|
|
|
1369
1043
|
hideOverlap: boolean;
|
|
1370
1044
|
};
|
|
1371
1045
|
axisTick: {
|
|
1046
|
+
show: boolean;
|
|
1372
1047
|
alignWithLabel: boolean;
|
|
1373
1048
|
};
|
|
1374
1049
|
splitLine: {
|
|
@@ -1397,6 +1072,7 @@ declare const themeElement: {
|
|
|
1397
1072
|
hideOverlap: boolean;
|
|
1398
1073
|
};
|
|
1399
1074
|
axisTick: {
|
|
1075
|
+
show: boolean;
|
|
1400
1076
|
alignWithLabel: boolean;
|
|
1401
1077
|
};
|
|
1402
1078
|
splitLine: {
|
|
@@ -1437,6 +1113,7 @@ declare const themeElement: {
|
|
|
1437
1113
|
selectedDataBackground: {
|
|
1438
1114
|
areaStyle: {
|
|
1439
1115
|
color: string;
|
|
1116
|
+
opacity: number;
|
|
1440
1117
|
};
|
|
1441
1118
|
lineStyle: {
|
|
1442
1119
|
color: string;
|
|
@@ -1478,9 +1155,12 @@ declare const themeElement: {
|
|
|
1478
1155
|
opacity: number;
|
|
1479
1156
|
};
|
|
1480
1157
|
symbol: string;
|
|
1158
|
+
symbolSize: number;
|
|
1481
1159
|
};
|
|
1482
1160
|
pie: {
|
|
1161
|
+
radius: (string | number)[];
|
|
1483
1162
|
label: {
|
|
1163
|
+
distanceToLabelLine: number;
|
|
1484
1164
|
fontFamily: string | undefined;
|
|
1485
1165
|
formatter: string;
|
|
1486
1166
|
color: string;
|
|
@@ -1488,6 +1168,8 @@ declare const themeElement: {
|
|
|
1488
1168
|
fontSize: number;
|
|
1489
1169
|
};
|
|
1490
1170
|
labelLine: {
|
|
1171
|
+
length: number;
|
|
1172
|
+
length2: number;
|
|
1491
1173
|
lineStyle: {
|
|
1492
1174
|
color: string;
|
|
1493
1175
|
};
|
|
@@ -1620,16 +1302,5 @@ declare const themeElement: {
|
|
|
1620
1302
|
};
|
|
1621
1303
|
};
|
|
1622
1304
|
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiChartLoadingSpinnerComponent, "si-chart-loading-spinner", never, {}, {}, never, never, true, never>;
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
declare class SiChartsNgModule {
|
|
1629
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartsNgModule, never>;
|
|
1630
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<SiChartsNgModule, never, [typeof i1.CommonModule, typeof SiChartCartesianComponent, typeof SiChartCircleComponent, typeof SiChartComponent, typeof SiChartGaugeComponent, typeof SiChartLoadingSpinnerComponent, typeof SiChartProgressBarComponent, typeof SiChartProgressComponent, typeof SiChartSankeyComponent, typeof SiChartSunburstComponent, typeof SiCustomLegendComponent], [typeof SiChartCartesianComponent, typeof SiChartCircleComponent, typeof SiChartComponent, typeof SiChartGaugeComponent, typeof SiChartProgressBarComponent, typeof SiChartProgressComponent, typeof SiChartSankeyComponent, typeof SiChartSunburstComponent, typeof SiCustomLegendComponent]>;
|
|
1631
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<SiChartsNgModule>;
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
export { SiChartCartesianComponent, SiChartCircleComponent, SiChartComponent, SiChartGaugeComponent, SiChartProgressBarComponent, SiChartProgressComponent, SiChartSankeyComponent, SiChartSunburstComponent, SiChartsNgModule, SiCustomLegendComponent, SiChartsNgModule as SimplChartsNgModule, themeElement, themeSupport };
|
|
1635
|
-
export type { AxisData, AxisPointerEvent, AxisType, BarSeriesData, CandlestickSeriesData, CartesianChartData, CartesianChartSeries, CartesianDataNullable, ChartXAxis, ChartYAxis, CircleChartData, CircleChartSeries, CircleValueUpdate, CustomLegend, CustomLegendItem, CustomLegendMultiLineInfo, CustomLegendProps, DataZoomEvent, DataZoomRange, EChartOption, EChartSeries, EChartSeriesOption, FilterMode, GaugeChartSeries, GridRectCoordinate, HeatmapSeriesData, LegendItem, LineColor, LineSeriesData, LineStepType, LineType, MarkAreaData, MarkLineData, MarkPointData, ProgressBarChartSeries, ProgressBarValueUpdate, ProgressChartSeries, ProgressValueUpdate, ScatterSeriesData, SelectedLegendItem, SeriesSelectionState, SeriesUpdate, SiBarSeriesOption, SiCandlestickSeriesOption, SiHeatmapSeriesOption, SiLineSeriesOption, SiScatterSeriesOption, SiSeriesOption, SiBarSeriesOption as SimplBarSeriesOption, SiCandlestickSeriesOption as SimplCandlestickSeriesOption, SiHeatmapSeriesOption as SimplHeatmapSeriesOption, SiLineSeriesOption as SimplLineSeriesOption, SiScatterSeriesOption as SimplScatterSeriesOption, SiSeriesOption as SimplSeriesOption, SubchartGrid, XAxisPosition, YAxisPosition };
|
|
1305
|
+
export { SiChartBaseComponent, themeElement, themeSupport };
|
|
1306
|
+
export type { AxisData, AxisPointerEvent, AxisType, ChartXAxis, ChartYAxis, CustomLegendMultiLineInfo, DataZoomEvent, DataZoomRange, EChartOption, EChartSeries, EChartSeriesOption, FilterMode, GridRectCoordinate, LegendItem, LineColor, SelectedLegendItem, SeriesSelectionState, SeriesUpdate, SiSeriesOption, SiSeriesOption as SimplSeriesOption, XAxisPosition, YAxisPosition };
|