@siemens/charts-ng 49.14.0 → 49.16.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/fesm2022/siemens-charts-ng-cartesian.mjs +2 -1
- package/fesm2022/siemens-charts-ng-cartesian.mjs.map +1 -1
- package/fesm2022/siemens-charts-ng-common.mjs +5 -0
- package/fesm2022/siemens-charts-ng-common.mjs.map +1 -1
- package/fesm2022/siemens-charts-ng-custom-legend.mjs +1 -0
- package/fesm2022/siemens-charts-ng-custom-legend.mjs.map +1 -1
- package/fesm2022/siemens-charts-ng-gauge.mjs +29 -7
- package/fesm2022/siemens-charts-ng-gauge.mjs.map +1 -1
- package/fesm2022/siemens-charts-ng-sankey.mjs +7 -2
- package/fesm2022/siemens-charts-ng-sankey.mjs.map +1 -1
- package/fesm2022/siemens-charts-ng-sunburst.mjs +7 -2
- package/fesm2022/siemens-charts-ng-sunburst.mjs.map +1 -1
- package/package.json +1 -1
- package/types/siemens-charts-ng-cartesian.d.ts +2 -1
- package/types/siemens-charts-ng-common.d.ts +10 -0
- package/types/siemens-charts-ng-custom-legend.d.ts +1 -0
- package/types/siemens-charts-ng-gauge.d.ts +29 -7
- package/types/siemens-charts-ng-sankey.d.ts +7 -2
- package/types/siemens-charts-ng-sunburst.d.ts +7 -2
|
@@ -8,6 +8,7 @@ import { viewChild, input, output, ChangeDetectionStrategy, Component } from '@a
|
|
|
8
8
|
class SiCustomLegendComponent {
|
|
9
9
|
/** @internal */
|
|
10
10
|
customLegendContainer = viewChild.required('customLegendContainer');
|
|
11
|
+
/** The data and configuration rendered by the custom legend. */
|
|
11
12
|
customLegend = input(...(ngDevMode ? [undefined, { debugName: "customLegend" }] : []));
|
|
12
13
|
/** The legend title. */
|
|
13
14
|
title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : []));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"siemens-charts-ng-custom-legend.mjs","sources":["../../../../projects/charts-ng/custom-legend/si-custom-legend.component.ts","../../../../projects/charts-ng/custom-legend/si-custom-legend.component.html","../../../../projects/charts-ng/custom-legend/index.ts","../../../../projects/charts-ng/custom-legend/siemens-charts-ng-custom-legend.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n viewChild\n} from '@angular/core';\n\nimport { CustomLegend, CustomLegendItem } from './si-custom-legend.interface';\n\n@Component({\n selector: 'si-custom-legend',\n templateUrl: './si-custom-legend.component.html',\n styleUrl: './si-custom-legend.component.scss',\n changeDetection: ChangeDetectionStrategy.Default\n})\nexport class SiCustomLegendComponent {\n /** @internal */\n readonly customLegendContainer = viewChild.required<ElementRef>('customLegendContainer');\n\n readonly customLegend = input<CustomLegend>();\n /** The legend title. */\n readonly title = input<string>();\n /** The legend subtitle. */\n readonly subTitle = input<string>();\n /** The color of the legend title. */\n readonly titleColor = input<string>();\n /** The color of the legend subtitle. */\n readonly subTitleColor = input<string>();\n /** The color of the legend text. */\n readonly textColor = input<string>();\n /** The event emitted when a legend icon is clicked. */\n readonly legendIconClickEvent = output<CustomLegendItem>();\n /** The event emitted when a legend is clicked. */\n readonly legendClickEvent = output<CustomLegendItem>();\n /** The event emitted when the mouse enters a legend. */\n readonly legendHoverStartEvent = output<CustomLegendItem>();\n /** The event emitted when the mouse leaves a legend. */\n readonly legendHoverEndEvent = output<CustomLegendItem>();\n\n protected legendIconClick(legend: CustomLegendItem): void {\n legend.selected = !legend.selected;\n this.legendIconClickEvent.emit(legend);\n }\n\n protected legendClick(legend: CustomLegendItem): void {\n legend.selected = !legend.selected;\n this.legendClickEvent.emit(legend);\n }\n}\n","@if (customLegend() && customLegend()?.customLegends) {\n <div #customLegendContainer class=\"legend-container si-body\">\n @for (leg of customLegend()?.customLegends; track legendIndex; let legendIndex = $index) {\n @if (legendIndex === 0 && leg && leg.list && leg.list.length > 0) {\n <div\n class=\"left-legends legend-item-container\"\n [class.legend-empty]=\"\n customLegend()?.legendAxis !== 'left' && customLegend()?.legendAxis !== 'both'\n \"\n [class.legend-single-axis]=\"customLegend()?.legendAxis === 'left'\"\n [class.both-legend-container]=\"customLegend()?.legendAxis === 'both'\"\n >\n <div\n class=\"both-scenario-left-unit-container\"\n [class.left-scenario-unit-container]=\"customLegend()?.legendAxis === 'left'\"\n >\n <span class=\"text-secondary\">{{ leg.unit }}</span>\n </div>\n <div\n class=\"legend-item-container both-scenario-legend-container custom-legend-left\"\n [class.legend-single-axis]=\"customLegend()?.legendAxis === 'left'\"\n >\n @for (legendItem of leg.list; track legendItem.name) {\n <div class=\"legend-item\" [class.hidden-legend]=\"!legendItem.selected\">\n <div\n class=\"me-4 d-flex align-items-center justify-content-center\"\n (click)=\"legendIconClick(legendItem)\"\n (mouseenter)=\"legendHoverStartEvent.emit(legendItem)\"\n (mouseleave)=\"legendHoverEndEvent.emit(legendItem)\"\n >\n <svg width=\"12\" height=\"12\" xmlns=\"http://www.w3.org/2000/svg\">\n <path [attr.d]=\"legendItem.symbol\" [attr.fill]=\"legendItem.color\" />\n </svg>\n </div>\n <span\n class=\"legend-text text-truncate\"\n [style.color]=\"textColor()\"\n (click)=\"legendClick(legendItem)\"\n (mouseenter)=\"legendHoverStartEvent.emit(legendItem)\"\n (mouseleave)=\"legendHoverEndEvent.emit(legendItem)\"\n >\n {{ legendItem.displayName }}\n </span>\n @if (legendItem.tooltip) {\n <div class=\"tooltip show bs-tooltip-bottom\" role=\"tooltip\">\n <div class=\"tooltip-arrow\"></div>\n <div class=\"tooltip-inner\">{{ legendItem.tooltip }}</div>\n </div>\n }\n </div>\n }\n </div>\n </div>\n }\n }\n\n @for (leg of customLegend()?.customLegends; track legendIndex; let legendIndex = $index) {\n @if (legendIndex === 1 && leg && leg.list && leg.list.length > 0) {\n <div\n class=\"right-legends legend-item-container\"\n [class.legend-empty]=\"\n customLegend()?.legendAxis !== 'right' && customLegend()?.legendAxis !== 'both'\n \"\n [class.legend-single-axis]=\"customLegend()?.legendAxis === 'right'\"\n [class.both-legend-container]=\"customLegend()?.legendAxis === 'both'\"\n >\n <div\n class=\"legend-item-container custom-legend-right legend-item-container-right-floating-inner\"\n >\n @for (legendItem of leg.list; track legendItem.name) {\n <div\n class=\"legend-item legend-item-right\"\n [class.hidden-legend]=\"!legendItem.selected\"\n >\n <span\n class=\"legend-text text-truncate\"\n [style.color]=\"textColor()\"\n (click)=\"legendClick(legendItem)\"\n >\n {{ legendItem.displayName }}\n </span>\n <div\n class=\"right-legend-circle d-flex align-items-center justify-content-center\"\n (click)=\"legendIconClick(legendItem)\"\n >\n <svg width=\"12\" height=\"12\" xmlns=\"http://www.w3.org/2000/svg\">\n <path [attr.d]=\"legendItem.symbol\" [attr.fill]=\"legendItem.color\" />\n </svg>\n </div>\n @if (legendItem.tooltip) {\n <div class=\"tooltip show bs-tooltip-bottom\" role=\"tooltip\">\n <div class=\"tooltip-arrow\"></div>\n <div class=\"tooltip-inner\">{{ legendItem.tooltip }}</div>\n </div>\n }\n </div>\n }\n </div>\n <div\n class=\"both-scenario-right-unit-container\"\n [class.right-scenario-unit-container]=\"customLegend()?.legendAxis === 'right'\"\n >\n <span class=\"right-unit-text text-secondary\">{{ leg.unit }}</span>\n </div>\n </div>\n }\n }\n </div>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-custom-legend.component';\nexport * from './si-custom-legend.interface';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;;AAGG;MAkBU,uBAAuB,CAAA;;AAEzB,IAAA,qBAAqB,GAAG,SAAS,CAAC,QAAQ,CAAa,uBAAuB,CAAC;IAE/E,YAAY,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,cAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAgB;;IAEpC,KAAK,GAA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AA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,eAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,WAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,oBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,sBAAA,CAAA,EAAA,CAAA,EAAA,gBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,CAAA,EAAA,qBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,uBAAA,CAAA,EAAA,CAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEvBzF;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"siemens-charts-ng-custom-legend.mjs","sources":["../../../../projects/charts-ng/custom-legend/si-custom-legend.component.ts","../../../../projects/charts-ng/custom-legend/si-custom-legend.component.html","../../../../projects/charts-ng/custom-legend/index.ts","../../../../projects/charts-ng/custom-legend/siemens-charts-ng-custom-legend.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n viewChild\n} from '@angular/core';\n\nimport { CustomLegend, CustomLegendItem } from './si-custom-legend.interface';\n\n@Component({\n selector: 'si-custom-legend',\n templateUrl: './si-custom-legend.component.html',\n styleUrl: './si-custom-legend.component.scss',\n changeDetection: ChangeDetectionStrategy.Default\n})\nexport class SiCustomLegendComponent {\n /** @internal */\n readonly customLegendContainer = viewChild.required<ElementRef>('customLegendContainer');\n\n /** The data and configuration rendered by the custom legend. */\n readonly customLegend = input<CustomLegend>();\n /** The legend title. */\n readonly title = input<string>();\n /** The legend subtitle. */\n readonly subTitle = input<string>();\n /** The color of the legend title. */\n readonly titleColor = input<string>();\n /** The color of the legend subtitle. */\n readonly subTitleColor = input<string>();\n /** The color of the legend text. */\n readonly textColor = input<string>();\n /** The event emitted when a legend icon is clicked. */\n readonly legendIconClickEvent = output<CustomLegendItem>();\n /** The event emitted when a legend is clicked. */\n readonly legendClickEvent = output<CustomLegendItem>();\n /** The event emitted when the mouse enters a legend. */\n readonly legendHoverStartEvent = output<CustomLegendItem>();\n /** The event emitted when the mouse leaves a legend. */\n readonly legendHoverEndEvent = output<CustomLegendItem>();\n\n protected legendIconClick(legend: CustomLegendItem): void {\n legend.selected = !legend.selected;\n this.legendIconClickEvent.emit(legend);\n }\n\n protected legendClick(legend: CustomLegendItem): void {\n legend.selected = !legend.selected;\n this.legendClickEvent.emit(legend);\n }\n}\n","@if (customLegend() && customLegend()?.customLegends) {\n <div #customLegendContainer class=\"legend-container si-body\">\n @for (leg of customLegend()?.customLegends; track legendIndex; let legendIndex = $index) {\n @if (legendIndex === 0 && leg && leg.list && leg.list.length > 0) {\n <div\n class=\"left-legends legend-item-container\"\n [class.legend-empty]=\"\n customLegend()?.legendAxis !== 'left' && customLegend()?.legendAxis !== 'both'\n \"\n [class.legend-single-axis]=\"customLegend()?.legendAxis === 'left'\"\n [class.both-legend-container]=\"customLegend()?.legendAxis === 'both'\"\n >\n <div\n class=\"both-scenario-left-unit-container\"\n [class.left-scenario-unit-container]=\"customLegend()?.legendAxis === 'left'\"\n >\n <span class=\"text-secondary\">{{ leg.unit }}</span>\n </div>\n <div\n class=\"legend-item-container both-scenario-legend-container custom-legend-left\"\n [class.legend-single-axis]=\"customLegend()?.legendAxis === 'left'\"\n >\n @for (legendItem of leg.list; track legendItem.name) {\n <div class=\"legend-item\" [class.hidden-legend]=\"!legendItem.selected\">\n <div\n class=\"me-4 d-flex align-items-center justify-content-center\"\n (click)=\"legendIconClick(legendItem)\"\n (mouseenter)=\"legendHoverStartEvent.emit(legendItem)\"\n (mouseleave)=\"legendHoverEndEvent.emit(legendItem)\"\n >\n <svg width=\"12\" height=\"12\" xmlns=\"http://www.w3.org/2000/svg\">\n <path [attr.d]=\"legendItem.symbol\" [attr.fill]=\"legendItem.color\" />\n </svg>\n </div>\n <span\n class=\"legend-text text-truncate\"\n [style.color]=\"textColor()\"\n (click)=\"legendClick(legendItem)\"\n (mouseenter)=\"legendHoverStartEvent.emit(legendItem)\"\n (mouseleave)=\"legendHoverEndEvent.emit(legendItem)\"\n >\n {{ legendItem.displayName }}\n </span>\n @if (legendItem.tooltip) {\n <div class=\"tooltip show bs-tooltip-bottom\" role=\"tooltip\">\n <div class=\"tooltip-arrow\"></div>\n <div class=\"tooltip-inner\">{{ legendItem.tooltip }}</div>\n </div>\n }\n </div>\n }\n </div>\n </div>\n }\n }\n\n @for (leg of customLegend()?.customLegends; track legendIndex; let legendIndex = $index) {\n @if (legendIndex === 1 && leg && leg.list && leg.list.length > 0) {\n <div\n class=\"right-legends legend-item-container\"\n [class.legend-empty]=\"\n customLegend()?.legendAxis !== 'right' && customLegend()?.legendAxis !== 'both'\n \"\n [class.legend-single-axis]=\"customLegend()?.legendAxis === 'right'\"\n [class.both-legend-container]=\"customLegend()?.legendAxis === 'both'\"\n >\n <div\n class=\"legend-item-container custom-legend-right legend-item-container-right-floating-inner\"\n >\n @for (legendItem of leg.list; track legendItem.name) {\n <div\n class=\"legend-item legend-item-right\"\n [class.hidden-legend]=\"!legendItem.selected\"\n >\n <span\n class=\"legend-text text-truncate\"\n [style.color]=\"textColor()\"\n (click)=\"legendClick(legendItem)\"\n >\n {{ legendItem.displayName }}\n </span>\n <div\n class=\"right-legend-circle d-flex align-items-center justify-content-center\"\n (click)=\"legendIconClick(legendItem)\"\n >\n <svg width=\"12\" height=\"12\" xmlns=\"http://www.w3.org/2000/svg\">\n <path [attr.d]=\"legendItem.symbol\" [attr.fill]=\"legendItem.color\" />\n </svg>\n </div>\n @if (legendItem.tooltip) {\n <div class=\"tooltip show bs-tooltip-bottom\" role=\"tooltip\">\n <div class=\"tooltip-arrow\"></div>\n <div class=\"tooltip-inner\">{{ legendItem.tooltip }}</div>\n </div>\n }\n </div>\n }\n </div>\n <div\n class=\"both-scenario-right-unit-container\"\n [class.right-scenario-unit-container]=\"customLegend()?.legendAxis === 'right'\"\n >\n <span class=\"right-unit-text text-secondary\">{{ leg.unit }}</span>\n </div>\n </div>\n }\n }\n </div>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-custom-legend.component';\nexport * from './si-custom-legend.interface';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;;AAGG;MAkBU,uBAAuB,CAAA;;AAEzB,IAAA,qBAAqB,GAAG,SAAS,CAAC,QAAQ,CAAa,uBAAuB,CAAC;;IAG/E,YAAY,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,cAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAgB;;IAEpC,KAAK,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,OAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;;IAEvB,QAAQ,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,UAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;;IAE1B,UAAU,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,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,CAAA,EAAA,CAAA,EAAA,oBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,sBAAA,CAAA,EAAA,CAAA,EAAA,gBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,CAAA,EAAA,qBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,uBAAA,CAAA,EAAA,CAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEvBzF;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
@@ -11,18 +11,37 @@ import { GaugeChart } from 'echarts/charts';
|
|
|
11
11
|
*/
|
|
12
12
|
echarts.use([GaugeChart]);
|
|
13
13
|
class SiChartGaugeComponent extends SiChartBaseComponent {
|
|
14
|
-
/**
|
|
14
|
+
/** The lowest value displayed on the gauge axis.
|
|
15
|
+
*
|
|
16
|
+
* @defaultValue 0
|
|
17
|
+
*/
|
|
15
18
|
minValue = input(0, ...(ngDevMode ? [{ debugName: "minValue" }] : []));
|
|
16
|
-
/**
|
|
19
|
+
/** The highest value displayed on the gauge axis.
|
|
20
|
+
*
|
|
21
|
+
* @defaultValue 100
|
|
22
|
+
*/
|
|
17
23
|
maxValue = input(100, ...(ngDevMode ? [{ debugName: "maxValue" }] : []));
|
|
18
|
-
/**
|
|
24
|
+
/** The value displayed by the gauge.
|
|
25
|
+
*
|
|
26
|
+
* @defaultValue 0
|
|
27
|
+
*/
|
|
19
28
|
value = input(0, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
29
|
+
/** The number of intervals displayed on the gauge axis. */
|
|
20
30
|
splitSteps = input(...(ngDevMode ? [undefined, { debugName: "splitSteps" }] : []));
|
|
21
|
-
/**
|
|
31
|
+
/** Whether the number of gauge-axis intervals adapts to the component size.
|
|
32
|
+
*
|
|
33
|
+
* @defaultValue true
|
|
34
|
+
*/
|
|
22
35
|
responsiveSplitSteps = input(true, ...(ngDevMode ? [{ debugName: "responsiveSplitSteps" }] : []));
|
|
23
|
-
/**
|
|
36
|
+
/** The unit displayed with the gauge value.
|
|
37
|
+
*
|
|
38
|
+
* @defaultValue '%'
|
|
39
|
+
*/
|
|
24
40
|
unit = input('%', ...(ngDevMode ? [{ debugName: "unit" }] : []));
|
|
25
|
-
/**
|
|
41
|
+
/** Whether to display the unit on gauge-axis labels.
|
|
42
|
+
*
|
|
43
|
+
* @defaultValue false
|
|
44
|
+
*/
|
|
26
45
|
unitsOnSplit = input(false, ...(ngDevMode ? [{ debugName: "unitsOnSplit" }] : []));
|
|
27
46
|
/**
|
|
28
47
|
* Custom formatter for axis labels.
|
|
@@ -54,7 +73,10 @@ class SiChartGaugeComponent extends SiChartBaseComponent {
|
|
|
54
73
|
* @defaultValue 0
|
|
55
74
|
*/
|
|
56
75
|
axisNumberOfDecimals = input(0, ...(ngDevMode ? [{ debugName: "axisNumberOfDecimals" }] : []));
|
|
57
|
-
/**
|
|
76
|
+
/** Whether to hide the gauge-axis labels.
|
|
77
|
+
*
|
|
78
|
+
* @defaultValue false
|
|
79
|
+
*/
|
|
58
80
|
hideAxisLabels = input(false, { ...(ngDevMode ? { debugName: "hideAxisLabels" } : {}), transform: booleanAttribute });
|
|
59
81
|
/**
|
|
60
82
|
* Segments on the arc from 0 (implicit) to 1 (explicit)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"siemens-charts-ng-gauge.mjs","sources":["../../../../projects/charts-ng/gauge/si-chart-gauge.component.ts","../../../../projects/charts-ng/common/si-chart-base.component.html","../../../../projects/charts-ng/gauge/index.ts","../../../../projects/charts-ng/gauge/siemens-charts-ng-gauge.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n LOCALE_ID,\n OnChanges,\n SimpleChange,\n SimpleChanges\n} from '@angular/core';\nimport { SiChartBaseComponent, GaugeSeriesOption, echarts } from '@siemens/charts-ng/common';\nimport { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';\nimport { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';\nimport { GaugeChart } from 'echarts/charts';\n\nimport { GaugeChartSeries } from './si-chart-gauge.interface';\n\necharts.use([GaugeChart]);\n\n@Component({\n selector: 'si-chart-gauge',\n imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent],\n templateUrl: '../common/si-chart-base.component.html',\n styleUrl: '../common/si-chart-base.component.scss',\n changeDetection: ChangeDetectionStrategy.Default\n})\nexport class SiChartGaugeComponent extends SiChartBaseComponent implements OnChanges {\n /** @defaultValue 0 */\n readonly minValue = input(0);\n /** @defaultValue 100 */\n readonly maxValue = input(100);\n /** @defaultValue 0 */\n readonly value = input(0);\n readonly splitSteps = input<number>();\n /** @defaultValue true */\n readonly responsiveSplitSteps = input(true);\n /** @defaultValue '%' */\n readonly unit = input('%');\n /** @defaultValue false */\n readonly unitsOnSplit = input(false);\n /**\n * Custom formatter for axis labels.\n * Takes precedence when specified, i.e. number of decimals, unit etc needs\n * to be set by the user using this formatter.\n */\n readonly labelFormatter = input<(val: number) => string>();\n /**\n * Custom formatter for value.\n * Takes precedence when specified, i.e. number of decimals needs\n * to be set by the user using this formatter.\n */\n readonly valueFormatter = input<(val: number) => string>();\n /**\n * Min number of decimals.\n * Possible values are from 0 to 100.\n * @defaultValue 0\n */\n readonly minNumberOfDecimals = input(0);\n /**\n * Max number of decimals.\n * Possible values are from 0 to 100.\n * @defaultValue 0\n */\n readonly maxNumberOfDecimals = input(0);\n /**\n * Number of decimals on the axis.\n * Possible values are from 0 to 100.\n * @defaultValue 0\n */\n readonly axisNumberOfDecimals = input(0);\n /** @defaultValue false */\n readonly hideAxisLabels = input(false, { transform: booleanAttribute });\n /**\n * Segments on the arc from 0 (implicit) to 1 (explicit)\n * E.g. 0.2 means from 0 to 0.2 of the possible range (maxValue - minValue)\n *\n * @defaultValue [0.2, 0.8, 1]\n */\n readonly segments = input<number[]>([0.2, 0.8, 1]);\n /**\n * Colors for the defined segments.\n * If there are less colors then segments, the colors will be repeated. Defaults to the standard color palette\n */\n readonly colors = input<string[]>();\n\n private readonly locale = inject(LOCALE_ID).toString();\n private readonly numberFormat = computed(() => {\n const minDecimals = this.minNumberOfDecimals();\n return new Intl.NumberFormat(this.locale, {\n minimumFractionDigits: minDecimals,\n maximumFractionDigits: Math.max(minDecimals, this.maxNumberOfDecimals())\n });\n });\n\n private readonly axisNumberFormat = computed(() => {\n const decimals = this.axisNumberOfDecimals();\n return new Intl.NumberFormat(this.locale, {\n minimumFractionDigits: decimals,\n maximumFractionDigits: decimals\n });\n });\n\n protected override afterChartInit(): void {\n super.afterChartInit();\n this.applyOptions();\n this.updateColors();\n this.refreshSeries();\n }\n\n private updateColors(): void {\n // gauge doesn't respect color palette, it needs a bit convincing\n const effectiveOpts: any = this.getOptionNoClone();\n const colors: string[] = this.colors() ?? effectiveOpts.color;\n const hasIndicator = !!this.segments().length;\n\n let newColors: [number, string][];\n if (hasIndicator) {\n newColors = this.segments().map((threshold, index) => {\n const color = colors[index % colors.length];\n return [threshold, color];\n });\n } else {\n const colorsValue = this.colors();\n const dataColor = colorsValue?.length\n ? colorsValue[0]\n : this.getThemeCustomValue(['gauge', 'defaultColor'], colors[0]);\n newColors = [[1, dataColor]];\n }\n\n if (hasIndicator) {\n this.setAxisLineColor(newColors, (this.actualOptions.series![0] as any).axisLine);\n }\n (this.actualOptions.series![0] as any).axisLine.show = hasIndicator;\n\n this.setAxisLineColor(newColors, (this.actualOptions.series![2] as any).axisLine);\n this.refreshSeries();\n }\n\n private setAxisLineColor(colors: [number, string][], axisLine: any): void {\n axisLine.lineStyle = axisLine.lineStyle ?? {};\n axisLine.lineStyle.color = colors;\n }\n\n private getResponsiveConfig(): {\n outerRadius: number;\n center: (string | number)[];\n progressWidth: number;\n indicatorWidth: number;\n gap: number;\n splits: number;\n axisLabelDist: number;\n axisFontSize: number;\n valueFontSize: number;\n unitFontSize: number;\n } {\n const marginY = 12;\n const maxHeight = this.curHeight - marginY;\n const dim = Math.min(this.curWidth / 2, maxHeight);\n const top = dim < maxHeight ? this.curHeight / 2 + dim / 2 : maxHeight;\n\n if (dim < 150) {\n const splits = dim < 100 ? 1 : 4;\n const axisLabelDist = dim < 100 ? -6 : 0;\n return {\n outerRadius: dim - 4,\n center: ['50%', top],\n progressWidth: 8,\n indicatorWidth: 1,\n gap: 2,\n splits,\n axisLabelDist,\n axisFontSize: 12,\n valueFontSize: 18,\n unitFontSize: 12\n };\n }\n\n if (dim < 200) {\n return {\n outerRadius: dim - 7,\n center: ['50%', top],\n progressWidth: 14,\n indicatorWidth: 3,\n gap: 3,\n splits: 6,\n axisLabelDist: 12,\n axisFontSize: 16,\n valueFontSize: 30,\n unitFontSize: 14\n };\n }\n\n return {\n outerRadius: dim - 12,\n center: ['50%', top],\n progressWidth: 24,\n indicatorWidth: 4,\n gap: 5,\n splits: 0,\n axisLabelDist: 20,\n axisFontSize: 20,\n valueFontSize: 40,\n unitFontSize: 14\n };\n }\n\n private readonly axisLabelFormatter = (value: any): string => {\n const formatted = this.axisNumberFormat().format(Number(value));\n return this.unitsOnSplit() ? `${formatted} ${this.unit()}` : formatted;\n };\n\n protected override applyOptions(): void {\n const resp = this.getResponsiveConfig();\n const hasIndicator = !!this.segments().length;\n\n const splitNumber =\n this.responsiveSplitSteps() && resp.splits ? resp.splits : this.splitSteps();\n const grey = this.getThemeCustomValue(['gauge', 'grey'], '#F0F2F5');\n const axisColor = this.getThemeCustomValue(['gauge', 'unit'], '#656A6F');\n\n const indicator: GaugeSeriesOption = {\n type: 'gauge',\n radius: resp.outerRadius - resp.progressWidth - resp.gap,\n startAngle: 180,\n endAngle: 0,\n min: this.minValue(),\n max: this.maxValue(),\n center: resp.center,\n axisLine: {\n show: hasIndicator,\n lineStyle: { width: resp.indicatorWidth }\n },\n axisTick: {\n length: 0,\n splitNumber: 1,\n lineStyle: {\n width: 2,\n color: axisColor\n }\n },\n splitLine: {\n length: 0,\n lineStyle: {\n width: 1,\n color: axisColor\n }\n },\n axisLabel: { show: false }\n };\n\n const labelDistance = resp.axisLabelDist + (hasIndicator ? resp.indicatorWidth + resp.gap : 0);\n\n const shade: GaugeSeriesOption = {\n type: 'gauge',\n radius: resp.outerRadius,\n startAngle: 180,\n endAngle: 0,\n min: this.minValue(),\n max: this.maxValue(),\n splitNumber,\n axisTick: { show: false },\n splitLine: { show: false },\n title: { show: false },\n center: resp.center,\n axisLine: {\n lineStyle: {\n width: resp.progressWidth,\n opacity: 0.6,\n color: [[1, grey]]\n }\n },\n axisLabel: {\n show: !this.hideAxisLabels(),\n distance: labelDistance,\n color: axisColor,\n fontSize: resp.axisFontSize,\n formatter: this.labelFormatter() ?? this.axisLabelFormatter\n }\n };\n\n const data: GaugeSeriesOption = {\n type: 'gauge',\n silent: false,\n radius: resp.outerRadius,\n startAngle: 180,\n endAngle: 0,\n min: this.minValue(),\n max: this.maxValue(),\n splitNumber,\n progress: {\n show: true,\n itemStyle: { color: 'auto' },\n width: resp.progressWidth\n },\n emphasis: {\n // This code is added to avoid flickering when the progress is hovered and\n // when mouse effects are enabled with `silent: false` flag. The issue occurs\n // because of the progress.itemStyle.color is set to `auto` which tries to\n // calculate the color dynamically and it conflicts with the mouse hover action\n // which tries to apply the hover style\n itemStyle: { color: 'auto' }\n },\n pointer: {\n show: true,\n length: '0%',\n itemStyle: {\n color: 'auto',\n opacity: 0.001\n }\n },\n center: resp.center,\n axisLine: {\n show: false,\n lineStyle: { opacity: 0.6 }\n },\n axisTick: { show: false },\n splitLine: { show: false },\n axisLabel: { show: false },\n title: { show: false },\n detail: {\n offsetCenter: [0, -0.5 * resp.valueFontSize],\n valueAnimation: true,\n formatter: this.valueFormatterInternal(),\n rich: {\n value: {\n fontSize: resp.valueFontSize,\n lineHeight: resp.valueFontSize,\n fontWeight: 600\n },\n unit: {\n fontSize: resp.unitFontSize,\n lineHeight: resp.unitFontSize,\n padding: [0, 0, (resp.unitFontSize - resp.valueFontSize) / 2, 0]\n }\n }\n },\n data: [{ value: this.value() }]\n };\n\n const series: GaugeSeriesOption[] = [indicator, shade, data];\n\n this.showLegend.set(false);\n this.actualOptions.series = series;\n\n this.applyTitles();\n }\n\n private valueFormatterInternal(): (val: number) => string {\n const unit = this.unit();\n const valueFormatter = this.valueFormatter();\n const labelFormatter = this.labelFormatter();\n\n const formattedUnit = unit ? (unit.length > 5 ? `\\n{unit|${unit}}` : ` {unit|${unit}}`) : '';\n\n return (value: number): string => {\n if (valueFormatter) {\n return `{value|${valueFormatter(value)}}${formattedUnit}`;\n }\n // DEPRECATED: Use the new input `valueFormatter` to format the value.\n // labelFormatter should be removed from here in future versions.\n if (labelFormatter) {\n return labelFormatter(value);\n }\n return `{value|${this.numberFormat().format(value)}}${formattedUnit}`;\n };\n }\n\n override ngOnChanges(changes: SimpleChanges<unknown>): void {\n if (this.chart && (changes.palette || changes.colors || changes.segments)) {\n this.updateColors();\n }\n changes.forceAll = new SimpleChange(false, true, false);\n super.ngOnChanges(changes);\n }\n\n protected override applyDataZoom(): void {}\n\n protected override afterChartResize(): void {\n this.applyOptions();\n this.refreshSeries();\n }\n\n /**\n * Update gauge chart value.\n */\n setValue(value: number): void {\n const optionSeries = this.actualOptions.series as GaugeChartSeries[];\n optionSeries[2].data[0].value = value;\n this.refreshSeries();\n }\n}\n","@if (showCustomLegend() && (title() || subTitle())) {\n <div class=\"si-h5 chart-title chart-title-width\" [style.background-color]=\"backgroundColor()\">\n <div class=\"chart-title-text\" [style.color]=\"titleColor()\">{{ title() }}</div>\n @if (subTitle()) {\n <div class=\"si-body\" [style.color]=\"subTitleColor()\">{{ subTitle() }}</div>\n }\n </div>\n}\n\n<div\n #chartContainerWrapper\n class=\"chart-container-wrapper\"\n [class.chart-scroll]=\"containerHeight()\"\n [attr.tabindex]=\"containerHeight() ? '0' : null\"\n>\n <div class=\"chart-container\" [style.height.px]=\"containerHeight()\">\n @if (showCustomLegend()) {\n @for (cl of customLegend; track $index) {\n <si-custom-legend\n #siCustomLegend\n class=\"custom-legend\"\n [style.top.px]=\"cl.top\"\n [title]=\"title()\"\n [subTitle]=\"subTitle()\"\n [customLegend]=\"cl\"\n [style.background-color]=\"backgroundColor()\"\n [titleColor]=\"titleColor()\"\n [subTitleColor]=\"subTitleColor()\"\n [textColor]=\"textColor()\"\n (legendIconClickEvent)=\"handleLegendClick($event)\"\n (legendClickEvent)=\"handleLegendClick($event)\"\n (legendHoverStartEvent)=\"handleLegendHover($event, true)\"\n (legendHoverEndEvent)=\"handleLegendHover($event, false)\"\n />\n }\n }\n <div #chart class=\"echart-container\" [style.height.px]=\"containerHeight()\"></div>\n </div>\n</div>\n@if (externalZoomSlider()) {\n <div\n #externalZoomSlider\n class=\"external-zoom-container\"\n [class.has-time-range-bar]=\"showTimeRangeBar()\"\n [style.--time-bar-height.px]=\"timeBarHeight()\"\n ></div>\n}\n\n@if (showTimeRangeBar() && zoomSlider()) {\n <div\n class=\"time-range-bar\"\n [style.bottom.px]=\"timeBarBottom()\"\n [style.padding-left.px]=\"timeBarLeft()\"\n [style.padding-right.px]=\"timeBarRight()\"\n >\n <ng-content select=\"[slot=timeRangeBar]\" />\n </div>\n}\n\n@if (inProgress()) {\n <div class=\"progress-container\">\n <si-chart-loading-spinner />\n </div>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-chart-gauge.component';\nexport * from './si-chart-gauge.interface';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAoBH,OAAO,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC;AASnB,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EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EChClC,omEAgEA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDrCY,uBAAuB,+PAAE,8BAA8B,EAAA,QAAA,EAAA,0BAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,OAAA,EAAA,CAAA;;2FAKtD,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;+BACE,gBAAgB,EAAA,OAAA,EACjB,CAAC,uBAAuB,EAAE,8BAA8B,CAAC,EAAA,eAAA,EAGjD,uBAAuB,CAAC,OAAO,EAAA,QAAA,EAAA,omEAAA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA;;;AE9BlD;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"siemens-charts-ng-gauge.mjs","sources":["../../../../projects/charts-ng/gauge/si-chart-gauge.component.ts","../../../../projects/charts-ng/common/si-chart-base.component.html","../../../../projects/charts-ng/gauge/index.ts","../../../../projects/charts-ng/gauge/siemens-charts-ng-gauge.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n LOCALE_ID,\n OnChanges,\n SimpleChange,\n SimpleChanges\n} from '@angular/core';\nimport { SiChartBaseComponent, GaugeSeriesOption, echarts } from '@siemens/charts-ng/common';\nimport { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';\nimport { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';\nimport { GaugeChart } from 'echarts/charts';\n\nimport { GaugeChartSeries } from './si-chart-gauge.interface';\n\necharts.use([GaugeChart]);\n\n@Component({\n selector: 'si-chart-gauge',\n imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent],\n templateUrl: '../common/si-chart-base.component.html',\n styleUrl: '../common/si-chart-base.component.scss',\n changeDetection: ChangeDetectionStrategy.Default\n})\nexport class SiChartGaugeComponent extends SiChartBaseComponent implements OnChanges {\n /** The lowest value displayed on the gauge axis.\n *\n * @defaultValue 0\n */\n readonly minValue = input(0);\n /** The highest value displayed on the gauge axis.\n *\n * @defaultValue 100\n */\n readonly maxValue = input(100);\n /** The value displayed by the gauge.\n *\n * @defaultValue 0\n */\n readonly value = input(0);\n /** The number of intervals displayed on the gauge axis. */\n readonly splitSteps = input<number>();\n /** Whether the number of gauge-axis intervals adapts to the component size.\n *\n * @defaultValue true\n */\n readonly responsiveSplitSteps = input(true);\n /** The unit displayed with the gauge value.\n *\n * @defaultValue '%'\n */\n readonly unit = input('%');\n /** Whether to display the unit on gauge-axis labels.\n *\n * @defaultValue false\n */\n readonly unitsOnSplit = input(false);\n /**\n * Custom formatter for axis labels.\n * Takes precedence when specified, i.e. number of decimals, unit etc needs\n * to be set by the user using this formatter.\n */\n readonly labelFormatter = input<(val: number) => string>();\n /**\n * Custom formatter for value.\n * Takes precedence when specified, i.e. number of decimals needs\n * to be set by the user using this formatter.\n */\n readonly valueFormatter = input<(val: number) => string>();\n /**\n * Min number of decimals.\n * Possible values are from 0 to 100.\n * @defaultValue 0\n */\n readonly minNumberOfDecimals = input(0);\n /**\n * Max number of decimals.\n * Possible values are from 0 to 100.\n * @defaultValue 0\n */\n readonly maxNumberOfDecimals = input(0);\n /**\n * Number of decimals on the axis.\n * Possible values are from 0 to 100.\n * @defaultValue 0\n */\n readonly axisNumberOfDecimals = input(0);\n /** Whether to hide the gauge-axis labels.\n *\n * @defaultValue false\n */\n readonly hideAxisLabels = input(false, { transform: booleanAttribute });\n /**\n * Segments on the arc from 0 (implicit) to 1 (explicit)\n * E.g. 0.2 means from 0 to 0.2 of the possible range (maxValue - minValue)\n *\n * @defaultValue [0.2, 0.8, 1]\n */\n readonly segments = input<number[]>([0.2, 0.8, 1]);\n /**\n * Colors for the defined segments.\n * If there are less colors then segments, the colors will be repeated. Defaults to the standard color palette\n */\n readonly colors = input<string[]>();\n\n private readonly locale = inject(LOCALE_ID).toString();\n private readonly numberFormat = computed(() => {\n const minDecimals = this.minNumberOfDecimals();\n return new Intl.NumberFormat(this.locale, {\n minimumFractionDigits: minDecimals,\n maximumFractionDigits: Math.max(minDecimals, this.maxNumberOfDecimals())\n });\n });\n\n private readonly axisNumberFormat = computed(() => {\n const decimals = this.axisNumberOfDecimals();\n return new Intl.NumberFormat(this.locale, {\n minimumFractionDigits: decimals,\n maximumFractionDigits: decimals\n });\n });\n\n protected override afterChartInit(): void {\n super.afterChartInit();\n this.applyOptions();\n this.updateColors();\n this.refreshSeries();\n }\n\n private updateColors(): void {\n // gauge doesn't respect color palette, it needs a bit convincing\n const effectiveOpts: any = this.getOptionNoClone();\n const colors: string[] = this.colors() ?? effectiveOpts.color;\n const hasIndicator = !!this.segments().length;\n\n let newColors: [number, string][];\n if (hasIndicator) {\n newColors = this.segments().map((threshold, index) => {\n const color = colors[index % colors.length];\n return [threshold, color];\n });\n } else {\n const colorsValue = this.colors();\n const dataColor = colorsValue?.length\n ? colorsValue[0]\n : this.getThemeCustomValue(['gauge', 'defaultColor'], colors[0]);\n newColors = [[1, dataColor]];\n }\n\n if (hasIndicator) {\n this.setAxisLineColor(newColors, (this.actualOptions.series![0] as any).axisLine);\n }\n (this.actualOptions.series![0] as any).axisLine.show = hasIndicator;\n\n this.setAxisLineColor(newColors, (this.actualOptions.series![2] as any).axisLine);\n this.refreshSeries();\n }\n\n private setAxisLineColor(colors: [number, string][], axisLine: any): void {\n axisLine.lineStyle = axisLine.lineStyle ?? {};\n axisLine.lineStyle.color = colors;\n }\n\n private getResponsiveConfig(): {\n outerRadius: number;\n center: (string | number)[];\n progressWidth: number;\n indicatorWidth: number;\n gap: number;\n splits: number;\n axisLabelDist: number;\n axisFontSize: number;\n valueFontSize: number;\n unitFontSize: number;\n } {\n const marginY = 12;\n const maxHeight = this.curHeight - marginY;\n const dim = Math.min(this.curWidth / 2, maxHeight);\n const top = dim < maxHeight ? this.curHeight / 2 + dim / 2 : maxHeight;\n\n if (dim < 150) {\n const splits = dim < 100 ? 1 : 4;\n const axisLabelDist = dim < 100 ? -6 : 0;\n return {\n outerRadius: dim - 4,\n center: ['50%', top],\n progressWidth: 8,\n indicatorWidth: 1,\n gap: 2,\n splits,\n axisLabelDist,\n axisFontSize: 12,\n valueFontSize: 18,\n unitFontSize: 12\n };\n }\n\n if (dim < 200) {\n return {\n outerRadius: dim - 7,\n center: ['50%', top],\n progressWidth: 14,\n indicatorWidth: 3,\n gap: 3,\n splits: 6,\n axisLabelDist: 12,\n axisFontSize: 16,\n valueFontSize: 30,\n unitFontSize: 14\n };\n }\n\n return {\n outerRadius: dim - 12,\n center: ['50%', top],\n progressWidth: 24,\n indicatorWidth: 4,\n gap: 5,\n splits: 0,\n axisLabelDist: 20,\n axisFontSize: 20,\n valueFontSize: 40,\n unitFontSize: 14\n };\n }\n\n private readonly axisLabelFormatter = (value: any): string => {\n const formatted = this.axisNumberFormat().format(Number(value));\n return this.unitsOnSplit() ? `${formatted} ${this.unit()}` : formatted;\n };\n\n protected override applyOptions(): void {\n const resp = this.getResponsiveConfig();\n const hasIndicator = !!this.segments().length;\n\n const splitNumber =\n this.responsiveSplitSteps() && resp.splits ? resp.splits : this.splitSteps();\n const grey = this.getThemeCustomValue(['gauge', 'grey'], '#F0F2F5');\n const axisColor = this.getThemeCustomValue(['gauge', 'unit'], '#656A6F');\n\n const indicator: GaugeSeriesOption = {\n type: 'gauge',\n radius: resp.outerRadius - resp.progressWidth - resp.gap,\n startAngle: 180,\n endAngle: 0,\n min: this.minValue(),\n max: this.maxValue(),\n center: resp.center,\n axisLine: {\n show: hasIndicator,\n lineStyle: { width: resp.indicatorWidth }\n },\n axisTick: {\n length: 0,\n splitNumber: 1,\n lineStyle: {\n width: 2,\n color: axisColor\n }\n },\n splitLine: {\n length: 0,\n lineStyle: {\n width: 1,\n color: axisColor\n }\n },\n axisLabel: { show: false }\n };\n\n const labelDistance = resp.axisLabelDist + (hasIndicator ? resp.indicatorWidth + resp.gap : 0);\n\n const shade: GaugeSeriesOption = {\n type: 'gauge',\n radius: resp.outerRadius,\n startAngle: 180,\n endAngle: 0,\n min: this.minValue(),\n max: this.maxValue(),\n splitNumber,\n axisTick: { show: false },\n splitLine: { show: false },\n title: { show: false },\n center: resp.center,\n axisLine: {\n lineStyle: {\n width: resp.progressWidth,\n opacity: 0.6,\n color: [[1, grey]]\n }\n },\n axisLabel: {\n show: !this.hideAxisLabels(),\n distance: labelDistance,\n color: axisColor,\n fontSize: resp.axisFontSize,\n formatter: this.labelFormatter() ?? this.axisLabelFormatter\n }\n };\n\n const data: GaugeSeriesOption = {\n type: 'gauge',\n silent: false,\n radius: resp.outerRadius,\n startAngle: 180,\n endAngle: 0,\n min: this.minValue(),\n max: this.maxValue(),\n splitNumber,\n progress: {\n show: true,\n itemStyle: { color: 'auto' },\n width: resp.progressWidth\n },\n emphasis: {\n // This code is added to avoid flickering when the progress is hovered and\n // when mouse effects are enabled with `silent: false` flag. The issue occurs\n // because of the progress.itemStyle.color is set to `auto` which tries to\n // calculate the color dynamically and it conflicts with the mouse hover action\n // which tries to apply the hover style\n itemStyle: { color: 'auto' }\n },\n pointer: {\n show: true,\n length: '0%',\n itemStyle: {\n color: 'auto',\n opacity: 0.001\n }\n },\n center: resp.center,\n axisLine: {\n show: false,\n lineStyle: { opacity: 0.6 }\n },\n axisTick: { show: false },\n splitLine: { show: false },\n axisLabel: { show: false },\n title: { show: false },\n detail: {\n offsetCenter: [0, -0.5 * resp.valueFontSize],\n valueAnimation: true,\n formatter: this.valueFormatterInternal(),\n rich: {\n value: {\n fontSize: resp.valueFontSize,\n lineHeight: resp.valueFontSize,\n fontWeight: 600\n },\n unit: {\n fontSize: resp.unitFontSize,\n lineHeight: resp.unitFontSize,\n padding: [0, 0, (resp.unitFontSize - resp.valueFontSize) / 2, 0]\n }\n }\n },\n data: [{ value: this.value() }]\n };\n\n const series: GaugeSeriesOption[] = [indicator, shade, data];\n\n this.showLegend.set(false);\n this.actualOptions.series = series;\n\n this.applyTitles();\n }\n\n private valueFormatterInternal(): (val: number) => string {\n const unit = this.unit();\n const valueFormatter = this.valueFormatter();\n const labelFormatter = this.labelFormatter();\n\n const formattedUnit = unit ? (unit.length > 5 ? `\\n{unit|${unit}}` : ` {unit|${unit}}`) : '';\n\n return (value: number): string => {\n if (valueFormatter) {\n return `{value|${valueFormatter(value)}}${formattedUnit}`;\n }\n // DEPRECATED: Use the new input `valueFormatter` to format the value.\n // labelFormatter should be removed from here in future versions.\n if (labelFormatter) {\n return labelFormatter(value);\n }\n return `{value|${this.numberFormat().format(value)}}${formattedUnit}`;\n };\n }\n\n override ngOnChanges(changes: SimpleChanges<unknown>): void {\n if (this.chart && (changes.palette || changes.colors || changes.segments)) {\n this.updateColors();\n }\n changes.forceAll = new SimpleChange(false, true, false);\n super.ngOnChanges(changes);\n }\n\n protected override applyDataZoom(): void {}\n\n protected override afterChartResize(): void {\n this.applyOptions();\n this.refreshSeries();\n }\n\n /**\n * Update gauge chart value.\n */\n setValue(value: number): void {\n const optionSeries = this.actualOptions.series as GaugeChartSeries[];\n optionSeries[2].data[0].value = value;\n this.refreshSeries();\n }\n}\n","@if (showCustomLegend() && (title() || subTitle())) {\n <div class=\"si-h5 chart-title chart-title-width\" [style.background-color]=\"backgroundColor()\">\n <div class=\"chart-title-text\" [style.color]=\"titleColor()\">{{ title() }}</div>\n @if (subTitle()) {\n <div class=\"si-body\" [style.color]=\"subTitleColor()\">{{ subTitle() }}</div>\n }\n </div>\n}\n\n<div\n #chartContainerWrapper\n class=\"chart-container-wrapper\"\n [class.chart-scroll]=\"containerHeight()\"\n [attr.tabindex]=\"containerHeight() ? '0' : null\"\n>\n <div class=\"chart-container\" [style.height.px]=\"containerHeight()\">\n @if (showCustomLegend()) {\n @for (cl of customLegend; track $index) {\n <si-custom-legend\n #siCustomLegend\n class=\"custom-legend\"\n [style.top.px]=\"cl.top\"\n [title]=\"title()\"\n [subTitle]=\"subTitle()\"\n [customLegend]=\"cl\"\n [style.background-color]=\"backgroundColor()\"\n [titleColor]=\"titleColor()\"\n [subTitleColor]=\"subTitleColor()\"\n [textColor]=\"textColor()\"\n (legendIconClickEvent)=\"handleLegendClick($event)\"\n (legendClickEvent)=\"handleLegendClick($event)\"\n (legendHoverStartEvent)=\"handleLegendHover($event, true)\"\n (legendHoverEndEvent)=\"handleLegendHover($event, false)\"\n />\n }\n }\n <div #chart class=\"echart-container\" [style.height.px]=\"containerHeight()\"></div>\n </div>\n</div>\n@if (externalZoomSlider()) {\n <div\n #externalZoomSlider\n class=\"external-zoom-container\"\n [class.has-time-range-bar]=\"showTimeRangeBar()\"\n [style.--time-bar-height.px]=\"timeBarHeight()\"\n ></div>\n}\n\n@if (showTimeRangeBar() && zoomSlider()) {\n <div\n class=\"time-range-bar\"\n [style.bottom.px]=\"timeBarBottom()\"\n [style.padding-left.px]=\"timeBarLeft()\"\n [style.padding-right.px]=\"timeBarRight()\"\n >\n <ng-content select=\"[slot=timeRangeBar]\" />\n </div>\n}\n\n@if (inProgress()) {\n <div class=\"progress-container\">\n <si-chart-loading-spinner />\n </div>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-chart-gauge.component';\nexport * from './si-chart-gauge.interface';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAoBH,OAAO,CAAC,GAAG,C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AAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EChClC,omEAgEA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDrCY,uBAAuB,+PAAE,8BAA8B,EAAA,QAAA,EAAA,0BAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,OAAA,EAAA,CAAA;;2FAKtD,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;+BACE,gBAAgB,EAAA,OAAA,EACjB,CAAC,uBAAuB,EAAE,8BAA8B,CAAC,EAAA,eAAA,EAGjD,uBAAuB,CAAC,OAAO,EAAA,QAAA,EAAA,omEAAA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA;;;AE9BlD;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
@@ -11,14 +11,19 @@ import { SankeyChart } from 'echarts/charts';
|
|
|
11
11
|
*/
|
|
12
12
|
echarts.use([SankeyChart]);
|
|
13
13
|
class SiChartSankeyComponent extends SiChartBaseComponent {
|
|
14
|
-
/** The series for the chart. */
|
|
14
|
+
/** The series configuration for the chart. */
|
|
15
15
|
series = input(...(ngDevMode ? [undefined, { debugName: "series" }] : []));
|
|
16
16
|
/**
|
|
17
|
+
* Whether to display the chart tooltip.
|
|
18
|
+
*
|
|
17
19
|
* @deprecated Use `tooltip` instead.
|
|
18
20
|
* @defaultValue false
|
|
19
21
|
*/
|
|
20
22
|
toolTip = input(false, ...(ngDevMode ? [{ debugName: "toolTip" }] : []));
|
|
21
|
-
/**
|
|
23
|
+
/** Whether to display the chart tooltip.
|
|
24
|
+
*
|
|
25
|
+
* @defaultValue false
|
|
26
|
+
*/
|
|
22
27
|
tooltip = input(false, ...(ngDevMode ? [{ debugName: "tooltip" }] : []));
|
|
23
28
|
applyOptions() {
|
|
24
29
|
const series = this.series();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"siemens-charts-ng-sankey.mjs","sources":["../../../../projects/charts-ng/sankey/si-chart-sankey.component.ts","../../../../projects/charts-ng/common/si-chart-base.component.html","../../../../projects/charts-ng/sankey/index.ts","../../../../projects/charts-ng/sankey/siemens-charts-ng-sankey.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { SiChartBaseComponent, SankeySeriesOption, echarts } from '@siemens/charts-ng/common';\nimport { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';\nimport { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';\nimport { SankeyChart } from 'echarts/charts';\n\necharts.use([SankeyChart]);\n\n@Component({\n selector: 'si-chart-sankey',\n imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent],\n templateUrl: '../common/si-chart-base.component.html',\n styleUrl: '../common/si-chart-base.component.scss',\n changeDetection: ChangeDetectionStrategy.Default\n})\nexport class SiChartSankeyComponent extends SiChartBaseComponent {\n /** The series for the chart. */\n readonly series = input<SankeySeriesOption>();\n /**\n * @deprecated Use `tooltip` instead.\n * @defaultValue false\n */\n readonly toolTip = input(false);\n /** @defaultValue false
|
|
1
|
+
{"version":3,"file":"siemens-charts-ng-sankey.mjs","sources":["../../../../projects/charts-ng/sankey/si-chart-sankey.component.ts","../../../../projects/charts-ng/common/si-chart-base.component.html","../../../../projects/charts-ng/sankey/index.ts","../../../../projects/charts-ng/sankey/siemens-charts-ng-sankey.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { SiChartBaseComponent, SankeySeriesOption, echarts } from '@siemens/charts-ng/common';\nimport { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';\nimport { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';\nimport { SankeyChart } from 'echarts/charts';\n\necharts.use([SankeyChart]);\n\n@Component({\n selector: 'si-chart-sankey',\n imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent],\n templateUrl: '../common/si-chart-base.component.html',\n styleUrl: '../common/si-chart-base.component.scss',\n changeDetection: ChangeDetectionStrategy.Default\n})\nexport class SiChartSankeyComponent extends SiChartBaseComponent {\n /** The series configuration for the chart. */\n readonly series = input<SankeySeriesOption>();\n /**\n * Whether to display the chart tooltip.\n *\n * @deprecated Use `tooltip` instead.\n * @defaultValue false\n */\n readonly toolTip = input(false);\n /** Whether to display the chart tooltip.\n *\n * @defaultValue false\n */\n readonly tooltip = input(false);\n\n protected override applyOptions(): void {\n const series = this.series();\n this.actualOptions = {\n series: series ? [{ type: 'sankey', ...series }] : [],\n tooltip: { show: this.toolTip() || this.tooltip() }\n };\n\n this.applyTitles();\n }\n}\n","@if (showCustomLegend() && (title() || subTitle())) {\n <div class=\"si-h5 chart-title chart-title-width\" [style.background-color]=\"backgroundColor()\">\n <div class=\"chart-title-text\" [style.color]=\"titleColor()\">{{ title() }}</div>\n @if (subTitle()) {\n <div class=\"si-body\" [style.color]=\"subTitleColor()\">{{ subTitle() }}</div>\n }\n </div>\n}\n\n<div\n #chartContainerWrapper\n class=\"chart-container-wrapper\"\n [class.chart-scroll]=\"containerHeight()\"\n [attr.tabindex]=\"containerHeight() ? '0' : null\"\n>\n <div class=\"chart-container\" [style.height.px]=\"containerHeight()\">\n @if (showCustomLegend()) {\n @for (cl of customLegend; track $index) {\n <si-custom-legend\n #siCustomLegend\n class=\"custom-legend\"\n [style.top.px]=\"cl.top\"\n [title]=\"title()\"\n [subTitle]=\"subTitle()\"\n [customLegend]=\"cl\"\n [style.background-color]=\"backgroundColor()\"\n [titleColor]=\"titleColor()\"\n [subTitleColor]=\"subTitleColor()\"\n [textColor]=\"textColor()\"\n (legendIconClickEvent)=\"handleLegendClick($event)\"\n (legendClickEvent)=\"handleLegendClick($event)\"\n (legendHoverStartEvent)=\"handleLegendHover($event, true)\"\n (legendHoverEndEvent)=\"handleLegendHover($event, false)\"\n />\n }\n }\n <div #chart class=\"echart-container\" [style.height.px]=\"containerHeight()\"></div>\n </div>\n</div>\n@if (externalZoomSlider()) {\n <div\n #externalZoomSlider\n class=\"external-zoom-container\"\n [class.has-time-range-bar]=\"showTimeRangeBar()\"\n [style.--time-bar-height.px]=\"timeBarHeight()\"\n ></div>\n}\n\n@if (showTimeRangeBar() && zoomSlider()) {\n <div\n class=\"time-range-bar\"\n [style.bottom.px]=\"timeBarBottom()\"\n [style.padding-left.px]=\"timeBarLeft()\"\n [style.padding-right.px]=\"timeBarRight()\"\n >\n <ng-content select=\"[slot=timeRangeBar]\" />\n </div>\n}\n\n@if (inProgress()) {\n <div class=\"progress-container\">\n <si-chart-loading-spinner />\n </div>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-chart-sankey.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAOH,OAAO,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC;AASpB,MAAO,sBAAuB,SAAQ,oBAAoB,CAAA;;IAErD,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA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AAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECnBnC,omEAgEA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDlDY,uBAAuB,+PAAE,8BAA8B,EAAA,QAAA,EAAA,0BAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,OAAA,EAAA,CAAA;;2FAKtD,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS;+BACE,iBAAiB,EAAA,OAAA,EAClB,CAAC,uBAAuB,EAAE,8BAA8B,CAAC,EAAA,eAAA,EAGjD,uBAAuB,CAAC,OAAO,EAAA,QAAA,EAAA,omEAAA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA;;;AEjBlD;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
@@ -11,14 +11,19 @@ import { SunburstChart } from 'echarts/charts';
|
|
|
11
11
|
*/
|
|
12
12
|
echarts.use([SunburstChart]);
|
|
13
13
|
class SiChartSunburstComponent extends SiChartBaseComponent {
|
|
14
|
-
/** The series for the chart. */
|
|
14
|
+
/** The series configuration for the chart. */
|
|
15
15
|
series = input(...(ngDevMode ? [undefined, { debugName: "series" }] : []));
|
|
16
16
|
/**
|
|
17
|
+
* Whether to display the chart tooltip.
|
|
18
|
+
*
|
|
17
19
|
* @deprecated Use `tooltip` instead.
|
|
18
20
|
* @defaultValue false
|
|
19
21
|
*/
|
|
20
22
|
toolTip = input(false, ...(ngDevMode ? [{ debugName: "toolTip" }] : []));
|
|
21
|
-
/**
|
|
23
|
+
/** Whether to display the chart tooltip.
|
|
24
|
+
*
|
|
25
|
+
* @defaultValue false
|
|
26
|
+
*/
|
|
22
27
|
tooltip = input(false, ...(ngDevMode ? [{ debugName: "tooltip" }] : []));
|
|
23
28
|
applyOptions() {
|
|
24
29
|
const series = this.series();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"siemens-charts-ng-sunburst.mjs","sources":["../../../../projects/charts-ng/sunburst/si-chart-sunburst.component.ts","../../../../projects/charts-ng/common/si-chart-base.component.html","../../../../projects/charts-ng/sunburst/index.ts","../../../../projects/charts-ng/sunburst/siemens-charts-ng-sunburst.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { SiChartBaseComponent, SunburstSeriesOption, echarts } from '@siemens/charts-ng/common';\nimport { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';\nimport { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';\nimport { SunburstChart } from 'echarts/charts';\n\necharts.use([SunburstChart]);\n\n@Component({\n selector: 'si-chart-sunburst',\n imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent],\n templateUrl: '../common/si-chart-base.component.html',\n styleUrl: '../common/si-chart-base.component.scss',\n changeDetection: ChangeDetectionStrategy.Default\n})\nexport class SiChartSunburstComponent extends SiChartBaseComponent {\n /** The series for the chart. */\n readonly series = input<SunburstSeriesOption>();\n /**\n * @deprecated Use `tooltip` instead.\n * @defaultValue false\n */\n readonly toolTip = input(false);\n /** @defaultValue false
|
|
1
|
+
{"version":3,"file":"siemens-charts-ng-sunburst.mjs","sources":["../../../../projects/charts-ng/sunburst/si-chart-sunburst.component.ts","../../../../projects/charts-ng/common/si-chart-base.component.html","../../../../projects/charts-ng/sunburst/index.ts","../../../../projects/charts-ng/sunburst/siemens-charts-ng-sunburst.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { SiChartBaseComponent, SunburstSeriesOption, echarts } from '@siemens/charts-ng/common';\nimport { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';\nimport { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';\nimport { SunburstChart } from 'echarts/charts';\n\necharts.use([SunburstChart]);\n\n@Component({\n selector: 'si-chart-sunburst',\n imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent],\n templateUrl: '../common/si-chart-base.component.html',\n styleUrl: '../common/si-chart-base.component.scss',\n changeDetection: ChangeDetectionStrategy.Default\n})\nexport class SiChartSunburstComponent extends SiChartBaseComponent {\n /** The series configuration for the chart. */\n readonly series = input<SunburstSeriesOption>();\n /**\n * Whether to display the chart tooltip.\n *\n * @deprecated Use `tooltip` instead.\n * @defaultValue false\n */\n readonly toolTip = input(false);\n /** Whether to display the chart tooltip.\n *\n * @defaultValue false\n */\n readonly tooltip = input(false);\n\n protected override applyOptions(): void {\n const series = this.series();\n this.actualOptions = {\n series: series ? [{ type: 'sunburst', ...series }] : [],\n tooltip: { show: this.toolTip() || this.tooltip() }\n };\n\n this.applyTitles();\n }\n}\n","@if (showCustomLegend() && (title() || subTitle())) {\n <div class=\"si-h5 chart-title chart-title-width\" [style.background-color]=\"backgroundColor()\">\n <div class=\"chart-title-text\" [style.color]=\"titleColor()\">{{ title() }}</div>\n @if (subTitle()) {\n <div class=\"si-body\" [style.color]=\"subTitleColor()\">{{ subTitle() }}</div>\n }\n </div>\n}\n\n<div\n #chartContainerWrapper\n class=\"chart-container-wrapper\"\n [class.chart-scroll]=\"containerHeight()\"\n [attr.tabindex]=\"containerHeight() ? '0' : null\"\n>\n <div class=\"chart-container\" [style.height.px]=\"containerHeight()\">\n @if (showCustomLegend()) {\n @for (cl of customLegend; track $index) {\n <si-custom-legend\n #siCustomLegend\n class=\"custom-legend\"\n [style.top.px]=\"cl.top\"\n [title]=\"title()\"\n [subTitle]=\"subTitle()\"\n [customLegend]=\"cl\"\n [style.background-color]=\"backgroundColor()\"\n [titleColor]=\"titleColor()\"\n [subTitleColor]=\"subTitleColor()\"\n [textColor]=\"textColor()\"\n (legendIconClickEvent)=\"handleLegendClick($event)\"\n (legendClickEvent)=\"handleLegendClick($event)\"\n (legendHoverStartEvent)=\"handleLegendHover($event, true)\"\n (legendHoverEndEvent)=\"handleLegendHover($event, false)\"\n />\n }\n }\n <div #chart class=\"echart-container\" [style.height.px]=\"containerHeight()\"></div>\n </div>\n</div>\n@if (externalZoomSlider()) {\n <div\n #externalZoomSlider\n class=\"external-zoom-container\"\n [class.has-time-range-bar]=\"showTimeRangeBar()\"\n [style.--time-bar-height.px]=\"timeBarHeight()\"\n ></div>\n}\n\n@if (showTimeRangeBar() && zoomSlider()) {\n <div\n class=\"time-range-bar\"\n [style.bottom.px]=\"timeBarBottom()\"\n [style.padding-left.px]=\"timeBarLeft()\"\n [style.padding-right.px]=\"timeBarRight()\"\n >\n <ng-content select=\"[slot=timeRangeBar]\" />\n </div>\n}\n\n@if (inProgress()) {\n <div class=\"progress-container\">\n <si-chart-loading-spinner />\n </div>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-chart-sunburst.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAOH,OAAO,CAAC,GAAG,CAAC,CAAC,aAAa,CAAC,CAAC;AAStB,MAAO,wBAAyB,SAAQ,oBAAoB,CAAA;;IAEvD,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAwB;AAC/C;;;;;AAKG;AACM,IAAA,OAAO,GAAG,KAAK,CAAC,KAAK,mDAAC;AAC/B;;;AAGG;AACM,IAAA,OAAO,GAAG,KAAK,CAAC,KAAK,mDAAC;IAEZ,YAAY,GAAA;AAC7B,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE;QAC5B,IAAI,CAAC,aAAa,GAAG;AACnB,YAAA,MAAM,EAAE,MAAM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AAA,uBAAA,CAAA,OAAA,EAAA,CAAA;;2FAKtD,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;+BACE,mBAAmB,EAAA,OAAA,EACpB,CAAC,uBAAuB,EAAE,8BAA8B,CAAC,EAAA,eAAA,EAGjD,uBAAuB,CAAC,OAAO,EAAA,QAAA,EAAA,omEAAA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA;;;AEjBlD;;;AAGG;;ACHH;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -41,6 +41,7 @@ type MarkLineData = NonNullable<MarkLineComponentOption['data']>;
|
|
|
41
41
|
declare class SiChartCartesianComponent extends SiChartBaseComponent implements OnChanges {
|
|
42
42
|
/** The series for the chart. */
|
|
43
43
|
readonly series: _angular_core.InputSignal<CartesianChartSeries[] | undefined>;
|
|
44
|
+
/** Grid definitions for rendering series in subcharts. */
|
|
44
45
|
readonly subChartGrids: _angular_core.InputSignal<SubchartGrid[] | undefined>;
|
|
45
46
|
/** The y axis in cartesian(rectangular) coordinate. */
|
|
46
47
|
readonly yAxis: _angular_core.InputSignal<ChartYAxis | ChartYAxis[] | undefined>;
|
|
@@ -54,7 +55,7 @@ declare class SiChartCartesianComponent extends SiChartBaseComponent implements
|
|
|
54
55
|
* @defaultValue false
|
|
55
56
|
*/
|
|
56
57
|
readonly stacked: _angular_core.InputSignal<boolean>;
|
|
57
|
-
/**
|
|
58
|
+
/** Whether brush zoom mode is enabled. */
|
|
58
59
|
readonly zoomMode: _angular_core.InputSignal<boolean | undefined>;
|
|
59
60
|
ngOnChanges(changes: SimpleChanges<unknown>): void;
|
|
60
61
|
private formatTooltip;
|
|
@@ -733,6 +733,11 @@ declare const themeSupport: {
|
|
|
733
733
|
};
|
|
734
734
|
};
|
|
735
735
|
};
|
|
736
|
+
visualMap: {
|
|
737
|
+
textStyle: {
|
|
738
|
+
color: string;
|
|
739
|
+
};
|
|
740
|
+
};
|
|
736
741
|
graph: {
|
|
737
742
|
color: string[];
|
|
738
743
|
};
|
|
@@ -1139,6 +1144,11 @@ declare const themeElement: {
|
|
|
1139
1144
|
};
|
|
1140
1145
|
};
|
|
1141
1146
|
};
|
|
1147
|
+
visualMap: {
|
|
1148
|
+
textStyle: {
|
|
1149
|
+
color: string;
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1142
1152
|
graph: {
|
|
1143
1153
|
color: string[];
|
|
1144
1154
|
};
|
|
@@ -39,6 +39,7 @@ interface CustomLegendProps {
|
|
|
39
39
|
declare class SiCustomLegendComponent {
|
|
40
40
|
/** @internal */
|
|
41
41
|
readonly customLegendContainer: _angular_core.Signal<ElementRef<any>>;
|
|
42
|
+
/** The data and configuration rendered by the custom legend. */
|
|
42
43
|
readonly customLegend: _angular_core.InputSignal<CustomLegend | undefined>;
|
|
43
44
|
/** The legend title. */
|
|
44
45
|
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
@@ -3,18 +3,37 @@ import { OnChanges, SimpleChanges } from '@angular/core';
|
|
|
3
3
|
import { SiChartBaseComponent } from '@siemens/charts-ng/common';
|
|
4
4
|
|
|
5
5
|
declare class SiChartGaugeComponent extends SiChartBaseComponent implements OnChanges {
|
|
6
|
-
/**
|
|
6
|
+
/** The lowest value displayed on the gauge axis.
|
|
7
|
+
*
|
|
8
|
+
* @defaultValue 0
|
|
9
|
+
*/
|
|
7
10
|
readonly minValue: _angular_core.InputSignal<number>;
|
|
8
|
-
/**
|
|
11
|
+
/** The highest value displayed on the gauge axis.
|
|
12
|
+
*
|
|
13
|
+
* @defaultValue 100
|
|
14
|
+
*/
|
|
9
15
|
readonly maxValue: _angular_core.InputSignal<number>;
|
|
10
|
-
/**
|
|
16
|
+
/** The value displayed by the gauge.
|
|
17
|
+
*
|
|
18
|
+
* @defaultValue 0
|
|
19
|
+
*/
|
|
11
20
|
readonly value: _angular_core.InputSignal<number>;
|
|
21
|
+
/** The number of intervals displayed on the gauge axis. */
|
|
12
22
|
readonly splitSteps: _angular_core.InputSignal<number | undefined>;
|
|
13
|
-
/**
|
|
23
|
+
/** Whether the number of gauge-axis intervals adapts to the component size.
|
|
24
|
+
*
|
|
25
|
+
* @defaultValue true
|
|
26
|
+
*/
|
|
14
27
|
readonly responsiveSplitSteps: _angular_core.InputSignal<boolean>;
|
|
15
|
-
/**
|
|
28
|
+
/** The unit displayed with the gauge value.
|
|
29
|
+
*
|
|
30
|
+
* @defaultValue '%'
|
|
31
|
+
*/
|
|
16
32
|
readonly unit: _angular_core.InputSignal<string>;
|
|
17
|
-
/**
|
|
33
|
+
/** Whether to display the unit on gauge-axis labels.
|
|
34
|
+
*
|
|
35
|
+
* @defaultValue false
|
|
36
|
+
*/
|
|
18
37
|
readonly unitsOnSplit: _angular_core.InputSignal<boolean>;
|
|
19
38
|
/**
|
|
20
39
|
* Custom formatter for axis labels.
|
|
@@ -46,7 +65,10 @@ declare class SiChartGaugeComponent extends SiChartBaseComponent implements OnCh
|
|
|
46
65
|
* @defaultValue 0
|
|
47
66
|
*/
|
|
48
67
|
readonly axisNumberOfDecimals: _angular_core.InputSignal<number>;
|
|
49
|
-
/**
|
|
68
|
+
/** Whether to hide the gauge-axis labels.
|
|
69
|
+
*
|
|
70
|
+
* @defaultValue false
|
|
71
|
+
*/
|
|
50
72
|
readonly hideAxisLabels: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
51
73
|
/**
|
|
52
74
|
* Segments on the arc from 0 (implicit) to 1 (explicit)
|
|
@@ -2,14 +2,19 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { SiChartBaseComponent, SankeySeriesOption } from '@siemens/charts-ng/common';
|
|
3
3
|
|
|
4
4
|
declare class SiChartSankeyComponent extends SiChartBaseComponent {
|
|
5
|
-
/** The series for the chart. */
|
|
5
|
+
/** The series configuration for the chart. */
|
|
6
6
|
readonly series: _angular_core.InputSignal<SankeySeriesOption | undefined>;
|
|
7
7
|
/**
|
|
8
|
+
* Whether to display the chart tooltip.
|
|
9
|
+
*
|
|
8
10
|
* @deprecated Use `tooltip` instead.
|
|
9
11
|
* @defaultValue false
|
|
10
12
|
*/
|
|
11
13
|
readonly toolTip: _angular_core.InputSignal<boolean>;
|
|
12
|
-
/**
|
|
14
|
+
/** Whether to display the chart tooltip.
|
|
15
|
+
*
|
|
16
|
+
* @defaultValue false
|
|
17
|
+
*/
|
|
13
18
|
readonly tooltip: _angular_core.InputSignal<boolean>;
|
|
14
19
|
protected applyOptions(): void;
|
|
15
20
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartSankeyComponent, never>;
|
|
@@ -2,14 +2,19 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { SiChartBaseComponent, SunburstSeriesOption } from '@siemens/charts-ng/common';
|
|
3
3
|
|
|
4
4
|
declare class SiChartSunburstComponent extends SiChartBaseComponent {
|
|
5
|
-
/** The series for the chart. */
|
|
5
|
+
/** The series configuration for the chart. */
|
|
6
6
|
readonly series: _angular_core.InputSignal<SunburstSeriesOption | undefined>;
|
|
7
7
|
/**
|
|
8
|
+
* Whether to display the chart tooltip.
|
|
9
|
+
*
|
|
8
10
|
* @deprecated Use `tooltip` instead.
|
|
9
11
|
* @defaultValue false
|
|
10
12
|
*/
|
|
11
13
|
readonly toolTip: _angular_core.InputSignal<boolean>;
|
|
12
|
-
/**
|
|
14
|
+
/** Whether to display the chart tooltip.
|
|
15
|
+
*
|
|
16
|
+
* @defaultValue false
|
|
17
|
+
*/
|
|
13
18
|
readonly tooltip: _angular_core.InputSignal<boolean>;
|
|
14
19
|
protected applyOptions(): void;
|
|
15
20
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiChartSunburstComponent, never>;
|