@siemens/charts-ng 47.6.0 → 47.8.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/README.md +5 -2
- package/components/index.d.ts +1 -1
- package/components/si-chart/index.d.ts +1 -1
- package/components/si-chart/si-chart.component.d.ts +1 -1
- package/components/si-chart/si-chart.interfaces.d.ts +2 -2
- package/components/si-chart-cartesian/index.d.ts +1 -1
- package/components/si-chart-cartesian/si-chart-cartesian.component.d.ts +1 -1
- package/components/si-chart-cartesian/si-chart-cartesian.interfaces.d.ts +2 -1
- package/components/si-chart-circle/index.d.ts +1 -1
- package/components/si-chart-circle/si-chart-circle.interface.d.ts +1 -1
- package/components/si-chart-gauge/index.d.ts +1 -1
- package/components/si-chart-gauge/si-chart-gauge.component.d.ts +1 -1
- package/components/si-chart-gauge/si-chart-gauge.interface.d.ts +1 -1
- package/components/si-chart-progress/index.d.ts +1 -1
- package/components/si-chart-progress/si-chart-progress.interface.d.ts +1 -1
- package/components/si-chart-progress-bar/index.d.ts +1 -1
- package/components/si-chart-progress-bar/si-chart-progress-bar.interface.d.ts +1 -1
- package/components/si-chart-sankey/index.d.ts +1 -1
- package/components/si-chart-sunburst/index.d.ts +1 -1
- package/components/si-custom-legend/index.d.ts +1 -1
- package/components/si-custom-legend/si-custom-legend.component.d.ts +1 -1
- package/components/si-custom-legend/si-custom-legend.interface.d.ts +1 -1
- package/fesm2022/siemens-charts-ng.mjs +30 -28
- package/fesm2022/siemens-charts-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/projects/charts-ng/README.md +5 -2
- package/public-api.d.ts +1 -1
- package/shared/echarts.model.d.ts +1 -1
- package/shared/index.d.ts +1 -1
package/README.md
CHANGED
|
@@ -42,6 +42,9 @@ You can set a seed for running the tests in a specific using an environment vari
|
|
|
42
42
|
|
|
43
43
|
## License
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
The following applies for code and documentation of the git repository,
|
|
46
|
+
unless explicitly mentioned.
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
Copyright (c) Siemens 2016 - 2025
|
|
49
|
+
|
|
50
|
+
MIT, see [LICENSE.md](LICENSE.md).
|
package/components/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright Siemens 2016 - 2025
|
|
2
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3
3
|
* SPDX-License-Identifier: MIT
|
|
4
4
|
*/
|
|
5
5
|
export type AxisType = 'value' | 'category' | 'time' | 'log';
|
|
@@ -94,4 +94,4 @@ export interface SiSeriesOption {
|
|
|
94
94
|
customLegendToolTip?: string;
|
|
95
95
|
visible?: boolean;
|
|
96
96
|
}
|
|
97
|
-
export {};
|
|
97
|
+
export type { SiSeriesOption as SimplSeriesOption };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright Siemens 2016 - 2025
|
|
2
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3
3
|
* SPDX-License-Identifier: MIT
|
|
4
4
|
*/
|
|
5
5
|
import { BarSeriesOption, CandlestickSeriesOption, HeatmapSeriesOption, LineSeriesOption, MarkAreaComponentOption, MarkLineComponentOption, MarkPointComponentOption, ScatterSeriesOption } from '../../shared/echarts.model';
|
|
@@ -33,3 +33,4 @@ export type CartesianChartSeries = SiBarSeriesOption | SiLineSeriesOption | SiHe
|
|
|
33
33
|
export type MarkAreaData = NonNullable<MarkAreaComponentOption['data']>;
|
|
34
34
|
export type MarkPointData = NonNullable<MarkPointComponentOption['data']>;
|
|
35
35
|
export type MarkLineData = NonNullable<MarkLineComponentOption['data']>;
|
|
36
|
+
export type { SiLineSeriesOption as SimplLineSeriesOption, SiBarSeriesOption as SimplBarSeriesOption, SiHeatmapSeriesOption as SimplHeatmapSeriesOption, SiScatterSeriesOption as SimplScatterSeriesOption, SiCandlestickSeriesOption as SimplCandlestickSeriesOption };
|
|
@@ -9,7 +9,7 @@ import { CanvasRenderer, SVGRenderer } from 'echarts/renderers';
|
|
|
9
9
|
import { CommonModule } from '@angular/common';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Copyright Siemens 2016 - 2025
|
|
12
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
13
13
|
* SPDX-License-Identifier: MIT
|
|
14
14
|
*/
|
|
15
15
|
echarts.use([
|
|
@@ -48,7 +48,7 @@ echarts.use([
|
|
|
48
48
|
]);
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Copyright Siemens 2016 - 2025
|
|
51
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
52
52
|
* SPDX-License-Identifier: MIT
|
|
53
53
|
*/
|
|
54
54
|
const getProp = (style, prop) => {
|
|
@@ -66,7 +66,8 @@ const tooltipFormatter = (p) => {
|
|
|
66
66
|
const name = isPie
|
|
67
67
|
? series.data.name
|
|
68
68
|
: useName
|
|
69
|
-
?
|
|
69
|
+
? // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
70
|
+
series.name || series.seriesName
|
|
70
71
|
: series.seriesName;
|
|
71
72
|
const valIndex = (series.encode.value ?? series.encode.y)[0];
|
|
72
73
|
const value = isCandle
|
|
@@ -545,7 +546,7 @@ const themeElement = {
|
|
|
545
546
|
};
|
|
546
547
|
|
|
547
548
|
/**
|
|
548
|
-
* Copyright Siemens 2016 - 2025
|
|
549
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
549
550
|
* SPDX-License-Identifier: MIT
|
|
550
551
|
*/
|
|
551
552
|
const themeSupport = {
|
|
@@ -571,7 +572,7 @@ const themeSupport = {
|
|
|
571
572
|
};
|
|
572
573
|
|
|
573
574
|
/**
|
|
574
|
-
* Copyright Siemens 2016 - 2025
|
|
575
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
575
576
|
* SPDX-License-Identifier: MIT
|
|
576
577
|
*/
|
|
577
578
|
class SiChartLoadingSpinnerComponent {
|
|
@@ -584,7 +585,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
584
585
|
}] });
|
|
585
586
|
|
|
586
587
|
/**
|
|
587
|
-
* Copyright Siemens 2016 - 2025
|
|
588
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
588
589
|
* SPDX-License-Identifier: MIT
|
|
589
590
|
*/
|
|
590
591
|
class SiCustomLegendComponent {
|
|
@@ -617,7 +618,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
617
618
|
}] });
|
|
618
619
|
|
|
619
620
|
/**
|
|
620
|
-
* Copyright Siemens 2016 - 2025
|
|
621
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
621
622
|
* SPDX-License-Identifier: MIT
|
|
622
623
|
*/
|
|
623
624
|
class SiChartComponent {
|
|
@@ -2323,12 +2324,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
2323
2324
|
}] } });
|
|
2324
2325
|
|
|
2325
2326
|
/**
|
|
2326
|
-
* Copyright Siemens 2016 - 2025
|
|
2327
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
2327
2328
|
* SPDX-License-Identifier: MIT
|
|
2328
2329
|
*/
|
|
2329
2330
|
|
|
2330
2331
|
/**
|
|
2331
|
-
* Copyright Siemens 2016 - 2025
|
|
2332
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
2332
2333
|
* SPDX-License-Identifier: MIT
|
|
2333
2334
|
*/
|
|
2334
2335
|
class SiChartCartesianComponent extends SiChartComponent {
|
|
@@ -2369,7 +2370,8 @@ class SiChartCartesianComponent extends SiChartComponent {
|
|
|
2369
2370
|
const name = isPie
|
|
2370
2371
|
? series.data.name
|
|
2371
2372
|
: useName
|
|
2372
|
-
?
|
|
2373
|
+
? // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
2374
|
+
series.name || series.seriesName
|
|
2373
2375
|
: series.seriesName;
|
|
2374
2376
|
const valIndex = (series.encode.value ?? series.encode.y)[0];
|
|
2375
2377
|
const value = isCandle
|
|
@@ -2659,12 +2661,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
2659
2661
|
}] });
|
|
2660
2662
|
|
|
2661
2663
|
/**
|
|
2662
|
-
* Copyright Siemens 2016 - 2025
|
|
2664
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
2663
2665
|
* SPDX-License-Identifier: MIT
|
|
2664
2666
|
*/
|
|
2665
2667
|
|
|
2666
2668
|
/**
|
|
2667
|
-
* Copyright Siemens 2016 - 2025
|
|
2669
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
2668
2670
|
* SPDX-License-Identifier: MIT
|
|
2669
2671
|
*/
|
|
2670
2672
|
class SiChartCircleComponent extends SiChartComponent {
|
|
@@ -2733,12 +2735,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
2733
2735
|
}] });
|
|
2734
2736
|
|
|
2735
2737
|
/**
|
|
2736
|
-
* Copyright Siemens 2016 - 2025
|
|
2738
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
2737
2739
|
* SPDX-License-Identifier: MIT
|
|
2738
2740
|
*/
|
|
2739
2741
|
|
|
2740
2742
|
/**
|
|
2741
|
-
* Copyright Siemens 2016 - 2025
|
|
2743
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
2742
2744
|
* SPDX-License-Identifier: MIT
|
|
2743
2745
|
*/
|
|
2744
2746
|
class SiChartGaugeComponent extends SiChartComponent {
|
|
@@ -3075,12 +3077,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
3075
3077
|
}] });
|
|
3076
3078
|
|
|
3077
3079
|
/**
|
|
3078
|
-
* Copyright Siemens 2016 - 2025
|
|
3080
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3079
3081
|
* SPDX-License-Identifier: MIT
|
|
3080
3082
|
*/
|
|
3081
3083
|
|
|
3082
3084
|
/**
|
|
3083
|
-
* Copyright Siemens 2016 - 2025
|
|
3085
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3084
3086
|
* SPDX-License-Identifier: MIT
|
|
3085
3087
|
*/
|
|
3086
3088
|
class SiChartProgressComponent extends SiChartComponent {
|
|
@@ -3277,12 +3279,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
3277
3279
|
}] });
|
|
3278
3280
|
|
|
3279
3281
|
/**
|
|
3280
|
-
* Copyright Siemens 2016 - 2025
|
|
3282
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3281
3283
|
* SPDX-License-Identifier: MIT
|
|
3282
3284
|
*/
|
|
3283
3285
|
|
|
3284
3286
|
/**
|
|
3285
|
-
* Copyright Siemens 2016 - 2025
|
|
3287
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3286
3288
|
* SPDX-License-Identifier: MIT
|
|
3287
3289
|
*/
|
|
3288
3290
|
class SiChartProgressBarComponent extends SiChartComponent {
|
|
@@ -3428,17 +3430,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
3428
3430
|
}] });
|
|
3429
3431
|
|
|
3430
3432
|
/**
|
|
3431
|
-
* Copyright Siemens 2016 - 2025
|
|
3433
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3432
3434
|
* SPDX-License-Identifier: MIT
|
|
3433
3435
|
*/
|
|
3434
3436
|
|
|
3435
3437
|
/**
|
|
3436
|
-
* Copyright Siemens 2016 - 2025
|
|
3438
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3437
3439
|
* SPDX-License-Identifier: MIT
|
|
3438
3440
|
*/
|
|
3439
3441
|
|
|
3440
3442
|
/**
|
|
3441
|
-
* Copyright Siemens 2016 - 2025
|
|
3443
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3442
3444
|
* SPDX-License-Identifier: MIT
|
|
3443
3445
|
*/
|
|
3444
3446
|
class SiChartSankeyComponent extends SiChartComponent {
|
|
@@ -3462,12 +3464,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
3462
3464
|
}] });
|
|
3463
3465
|
|
|
3464
3466
|
/**
|
|
3465
|
-
* Copyright Siemens 2016 - 2025
|
|
3467
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3466
3468
|
* SPDX-License-Identifier: MIT
|
|
3467
3469
|
*/
|
|
3468
3470
|
|
|
3469
3471
|
/**
|
|
3470
|
-
* Copyright Siemens 2016 - 2025
|
|
3472
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3471
3473
|
* SPDX-License-Identifier: MIT
|
|
3472
3474
|
*/
|
|
3473
3475
|
class SiChartSunburstComponent extends SiChartComponent {
|
|
@@ -3491,22 +3493,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
3491
3493
|
}] });
|
|
3492
3494
|
|
|
3493
3495
|
/**
|
|
3494
|
-
* Copyright Siemens 2016 - 2025
|
|
3496
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3495
3497
|
* SPDX-License-Identifier: MIT
|
|
3496
3498
|
*/
|
|
3497
3499
|
|
|
3498
3500
|
/**
|
|
3499
|
-
* Copyright Siemens 2016 - 2025
|
|
3501
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3500
3502
|
* SPDX-License-Identifier: MIT
|
|
3501
3503
|
*/
|
|
3502
3504
|
|
|
3503
3505
|
/**
|
|
3504
|
-
* Copyright Siemens 2016 - 2025
|
|
3506
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3505
3507
|
* SPDX-License-Identifier: MIT
|
|
3506
3508
|
*/
|
|
3507
3509
|
|
|
3508
3510
|
/**
|
|
3509
|
-
* Copyright Siemens 2016 - 2025
|
|
3511
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3510
3512
|
* SPDX-License-Identifier: MIT
|
|
3511
3513
|
*/
|
|
3512
3514
|
class SiChartsNgModule {
|
|
@@ -3563,7 +3565,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
|
3563
3565
|
}] });
|
|
3564
3566
|
|
|
3565
3567
|
/**
|
|
3566
|
-
* Copyright Siemens 2016 - 2025
|
|
3568
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
3567
3569
|
* SPDX-License-Identifier: MIT
|
|
3568
3570
|
*/
|
|
3569
3571
|
// Public API Surface
|