@siemens/charts-ng 48.9.0 → 49.0.0-rc.1
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 +15 -0
- 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/siemens-charts-ng-cartesian.mjs +375 -0
- package/fesm2022/siemens-charts-ng-cartesian.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-chart.mjs +55 -0
- package/fesm2022/siemens-charts-ng-chart.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-circle.mjs +90 -0
- package/fesm2022/siemens-charts-ng-circle.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-common.mjs +2340 -0
- package/fesm2022/siemens-charts-ng-common.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-custom-legend.mjs +56 -0
- package/fesm2022/siemens-charts-ng-custom-legend.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-gauge.mjs +362 -0
- package/fesm2022/siemens-charts-ng-gauge.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-loading-spinner.mjs +27 -0
- package/fesm2022/siemens-charts-ng-loading-spinner.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-progress-bar.mjs +168 -0
- package/fesm2022/siemens-charts-ng-progress-bar.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-progress.mjs +218 -0
- package/fesm2022/siemens-charts-ng-progress.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-sankey.mjs +49 -0
- package/fesm2022/siemens-charts-ng-sankey.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng-sunburst.mjs +49 -0
- package/fesm2022/siemens-charts-ng-sunburst.mjs.map +1 -0
- package/fesm2022/siemens-charts-ng.mjs +38 -3606
- package/fesm2022/siemens-charts-ng.mjs.map +1 -1
- package/gauge/package.json +4 -0
- package/loading-spinner/package.json +4 -0
- package/package.json +49 -5
- package/progress/package.json +4 -0
- package/progress-bar/package.json +4 -0
- package/projects/charts-ng/README.md +15 -0
- package/sankey/package.json +4 -0
- package/sunburst/package.json +4 -0
- package/types/siemens-charts-ng-cartesian.d.ts +91 -0
- package/types/siemens-charts-ng-chart.d.ts +9 -0
- package/types/siemens-charts-ng-circle.d.ts +74 -0
- package/{index.d.ts → types/siemens-charts-ng-common.d.ts} +14 -451
- package/types/siemens-charts-ng-custom-legend.d.ts +68 -0
- package/types/siemens-charts-ng-gauge.d.ts +97 -0
- package/types/siemens-charts-ng-loading-spinner.d.ts +8 -0
- package/types/siemens-charts-ng-progress-bar.d.ts +46 -0
- package/types/siemens-charts-ng-progress.d.ts +57 -0
- package/types/siemens-charts-ng-sankey.d.ts +19 -0
- package/types/siemens-charts-ng-sunburst.d.ts +19 -0
- package/types/siemens-charts-ng.d.ts +35 -0
package/README.md
CHANGED
|
@@ -35,6 +35,21 @@ import { SiChartsNgModule } from '@siemens/charts-ng';
|
|
|
35
35
|
export class AppModule {}
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
Starting with v49, Element Charts uses separate entry points for each component.
|
|
39
|
+
Import components directly from their specific entry points:
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
import { SiChartCartesianComponent } from '@siemens/charts-ng/cartesian';
|
|
43
|
+
import { SiChartCircleComponent } from '@siemens/charts-ng/circle';
|
|
44
|
+
import { SiChartGaugeComponent } from '@siemens/charts-ng/gauge';
|
|
45
|
+
// ... and other components
|
|
46
|
+
|
|
47
|
+
@Component({
|
|
48
|
+
imports: [SiChartCartesianComponent, ...]
|
|
49
|
+
})
|
|
50
|
+
export class AppComponent {}
|
|
51
|
+
```
|
|
52
|
+
|
|
38
53
|
### Running unit tests
|
|
39
54
|
|
|
40
55
|
Run `npm run charts:test` to perform the unit tests via [Karma](https://karma-runner.github.io).
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, Component } from '@angular/core';
|
|
3
|
+
import { echarts, SiChartBaseComponent } from '@siemens/charts-ng/common';
|
|
4
|
+
import { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';
|
|
5
|
+
import { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';
|
|
6
|
+
import { BarChart, LineChart, ScatterChart, CandlestickChart, HeatmapChart } from 'echarts/charts';
|
|
7
|
+
import { LegendComponent, GridComponent, DataZoomComponent, VisualMapComponent, ToolboxComponent, BrushComponent, MarkAreaComponent, MarkLineComponent, MarkPointComponent, AxisPointerComponent } from 'echarts/components';
|
|
8
|
+
import { LegacyGridContainLabel } from 'echarts/features';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*/
|
|
14
|
+
echarts.use([
|
|
15
|
+
BarChart,
|
|
16
|
+
LineChart,
|
|
17
|
+
ScatterChart,
|
|
18
|
+
CandlestickChart,
|
|
19
|
+
HeatmapChart,
|
|
20
|
+
LegendComponent,
|
|
21
|
+
GridComponent,
|
|
22
|
+
DataZoomComponent,
|
|
23
|
+
VisualMapComponent,
|
|
24
|
+
ToolboxComponent,
|
|
25
|
+
BrushComponent,
|
|
26
|
+
MarkAreaComponent,
|
|
27
|
+
MarkLineComponent,
|
|
28
|
+
MarkPointComponent,
|
|
29
|
+
AxisPointerComponent,
|
|
30
|
+
LegacyGridContainLabel
|
|
31
|
+
]);
|
|
32
|
+
class SiChartCartesianComponent extends SiChartBaseComponent {
|
|
33
|
+
/** The series for the chart. */
|
|
34
|
+
series = input(...(ngDevMode ? [undefined, { debugName: "series" }] : []));
|
|
35
|
+
subChartGrids = input(...(ngDevMode ? [undefined, { debugName: "subChartGrids" }] : []));
|
|
36
|
+
/** The y axis in cartesian(rectangular) coordinate. */
|
|
37
|
+
yAxis = input(...(ngDevMode ? [undefined, { debugName: "yAxis" }] : []));
|
|
38
|
+
/** The x axis in cartesian(rectangular) coordinate. */
|
|
39
|
+
xAxis = input(...(ngDevMode ? [undefined, { debugName: "xAxis" }] : []));
|
|
40
|
+
/** The content formatter of tooltip's floating layer which supports string template and callback function (see (see {@link https://echarts.apache.org/en/option.html#tooltip.formatter }). */
|
|
41
|
+
tooltipFormatter = input(...(ngDevMode ? [undefined, { debugName: "tooltipFormatter" }] : []));
|
|
42
|
+
/**
|
|
43
|
+
* Used to display the chart as a stacked one.
|
|
44
|
+
*
|
|
45
|
+
* @defaultValue false
|
|
46
|
+
*/
|
|
47
|
+
stacked = input(false, ...(ngDevMode ? [{ debugName: "stacked" }] : []));
|
|
48
|
+
/** Enable or disable brush zoom mode */
|
|
49
|
+
zoomMode = input(...(ngDevMode ? [undefined, { debugName: "zoomMode" }] : []));
|
|
50
|
+
// Used to toggle different chart types
|
|
51
|
+
ngOnChanges(changes) {
|
|
52
|
+
if (changes.zoomMode) {
|
|
53
|
+
this.setZoomMode();
|
|
54
|
+
}
|
|
55
|
+
if (changes.stacked) {
|
|
56
|
+
changes.forceAll = changes.stacked;
|
|
57
|
+
}
|
|
58
|
+
if (changes.subChartGrids) {
|
|
59
|
+
changes.forceAll = changes.subChartGrids;
|
|
60
|
+
}
|
|
61
|
+
super.ngOnChanges(changes);
|
|
62
|
+
}
|
|
63
|
+
formatTooltip(p) {
|
|
64
|
+
const params = Array.isArray(p) ? p : [p];
|
|
65
|
+
const label = params[0]?.axisValueLabel ?? '';
|
|
66
|
+
let html = label;
|
|
67
|
+
for (const series of params) {
|
|
68
|
+
const isCandle = series.componentSubType === 'candlestick';
|
|
69
|
+
const isPie = series.componentSubType === 'pie';
|
|
70
|
+
const useName = series.name != series.axisValue;
|
|
71
|
+
const name = isPie
|
|
72
|
+
? series.data.name
|
|
73
|
+
: useName
|
|
74
|
+
? // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
75
|
+
series.name || series.seriesName
|
|
76
|
+
: series.seriesName;
|
|
77
|
+
const valIndex = (series.encode.value ?? series.encode.y)[0];
|
|
78
|
+
const value = isCandle
|
|
79
|
+
? ''
|
|
80
|
+
: isPie
|
|
81
|
+
? series.percent + '%'
|
|
82
|
+
: Array.isArray(series.value)
|
|
83
|
+
? series.value[valIndex]
|
|
84
|
+
: series.value;
|
|
85
|
+
html += '<div style="display: flex; align-items: center;">';
|
|
86
|
+
html += this.getSeriesMarkerSvg(name);
|
|
87
|
+
html += `<span style="margin-inline: 4px 8px">${name}</span>`;
|
|
88
|
+
html += `<span style="margin-inline-start: auto">${value}</span>`;
|
|
89
|
+
html += '</div>';
|
|
90
|
+
}
|
|
91
|
+
return html;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Get the series marker svg by series name.
|
|
95
|
+
*/
|
|
96
|
+
getSeriesMarkerSvg(seriesName) {
|
|
97
|
+
const seriesValue = this.actualOptions.series;
|
|
98
|
+
let sym;
|
|
99
|
+
if (seriesValue) {
|
|
100
|
+
sym = this.getSeriesMarker(seriesName);
|
|
101
|
+
const symbol = this.shapePaths[sym];
|
|
102
|
+
const color = this.getSeriesColorBySeriesName(seriesName);
|
|
103
|
+
return `<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg">
|
|
104
|
+
<path d="${symbol}" fill="${color}" />
|
|
105
|
+
</svg>`;
|
|
106
|
+
}
|
|
107
|
+
return '';
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Get the series marker by series name.
|
|
111
|
+
*/
|
|
112
|
+
getSeriesMarker(seriesName) {
|
|
113
|
+
const seriesValue = this.actualOptions.series;
|
|
114
|
+
if (seriesValue) {
|
|
115
|
+
const seriesMarker = seriesValue.find(ser => ser.name === seriesName);
|
|
116
|
+
if (seriesMarker && 'symbol' in seriesMarker) {
|
|
117
|
+
return seriesMarker.symbol;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return 'circle';
|
|
121
|
+
}
|
|
122
|
+
afterChartInit(skipZoom) {
|
|
123
|
+
super.afterChartInit(skipZoom);
|
|
124
|
+
if (this.zoomMode()) {
|
|
125
|
+
this.setZoomMode();
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
setZoomMode() {
|
|
129
|
+
this.dispatchEChartAction({
|
|
130
|
+
type: 'takeGlobalCursor',
|
|
131
|
+
key: 'dataZoomSelect',
|
|
132
|
+
dataZoomSelectActive: this.zoomMode()
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
getValidXAxis() {
|
|
136
|
+
const validXAxis = new Set();
|
|
137
|
+
this.series()?.forEach(series => {
|
|
138
|
+
if (series.visible !== false && series.xAxisIndex !== undefined) {
|
|
139
|
+
validXAxis.add(series.xAxisIndex);
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
return validXAxis;
|
|
143
|
+
}
|
|
144
|
+
applyOptions() {
|
|
145
|
+
this.actualOptions = {
|
|
146
|
+
series: [],
|
|
147
|
+
xAxis: this.xAxis(),
|
|
148
|
+
grid: this.getGrid(),
|
|
149
|
+
yAxis: this.yAxis(),
|
|
150
|
+
toolbox: {
|
|
151
|
+
showTitle: false,
|
|
152
|
+
itemSize: 0,
|
|
153
|
+
feature: {
|
|
154
|
+
dataZoom: {
|
|
155
|
+
filterMode: 'none',
|
|
156
|
+
xAxisIndex: 'all',
|
|
157
|
+
yAxisIndex: false,
|
|
158
|
+
icon: {
|
|
159
|
+
zoom: 'image://',
|
|
160
|
+
back: 'image://'
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
legend: [
|
|
166
|
+
{
|
|
167
|
+
data: []
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
data: []
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
tooltip: {
|
|
174
|
+
trigger: 'axis',
|
|
175
|
+
confine: true
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
const tooltipFormatter = this.tooltipFormatter();
|
|
179
|
+
if (tooltipFormatter) {
|
|
180
|
+
this.actualOptions.tooltip.formatter = tooltipFormatter;
|
|
181
|
+
}
|
|
182
|
+
else if (this.hasDifferentMarker()) {
|
|
183
|
+
this.actualOptions.tooltip.formatter = this.formatTooltip.bind(this);
|
|
184
|
+
}
|
|
185
|
+
const yAxis = this.yAxis();
|
|
186
|
+
const yAxisArray = Array.isArray(yAxis) ? yAxis : yAxis ? [yAxis] : [];
|
|
187
|
+
const numRight = yAxisArray.reduce((acc, cur) => acc + (cur.position === 'right' ? 1 : 0), 0);
|
|
188
|
+
const numLeft = yAxisArray.length - numRight;
|
|
189
|
+
const legendLeftOptions = this.getThemeCustomValue(['legendLeft'], {});
|
|
190
|
+
const legendRightOptions = this.getThemeCustomValue(['legendRight'], {});
|
|
191
|
+
let leftUnitText;
|
|
192
|
+
let rightUnitText;
|
|
193
|
+
const legends = this.actualOptions.legend;
|
|
194
|
+
if (numLeft && numRight) {
|
|
195
|
+
echarts.util.merge(legends[0], legendLeftOptions, true);
|
|
196
|
+
echarts.util.merge(legends[1], legendRightOptions, true);
|
|
197
|
+
}
|
|
198
|
+
else if (Array.isArray(this.yAxis()) && numLeft) {
|
|
199
|
+
echarts.util.merge(legends[0], { left: legendLeftOptions.left }, true);
|
|
200
|
+
}
|
|
201
|
+
else if (numRight) {
|
|
202
|
+
echarts.util.merge(legends[1], { right: legendRightOptions.right }, true);
|
|
203
|
+
}
|
|
204
|
+
const subChartGrids = this.subChartGrids();
|
|
205
|
+
if (subChartGrids) {
|
|
206
|
+
if (subChartGrids.length !== this.customLegend.length) {
|
|
207
|
+
const diff = subChartGrids.length - this.customLegend.length;
|
|
208
|
+
if (diff < 0) {
|
|
209
|
+
this.customLegend.length = subChartGrids.length;
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
for (let i = 0; i < diff; i++) {
|
|
213
|
+
// Add default custom legends for all grids
|
|
214
|
+
const cl = {
|
|
215
|
+
customLegends: [
|
|
216
|
+
{ list: [], unit: '' },
|
|
217
|
+
{ list: [], unit: '' }
|
|
218
|
+
],
|
|
219
|
+
legendAxis: 'both'
|
|
220
|
+
};
|
|
221
|
+
this.customLegend.push(cl);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
const margin = 16;
|
|
226
|
+
// calculate custom legend positions from top according to subcharts.
|
|
227
|
+
for (let i = 0; i < subChartGrids.length; i++) {
|
|
228
|
+
if (i === 0) {
|
|
229
|
+
this.customLegend[i].top = 0;
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
const prevGrid = subChartGrids[i - 1];
|
|
233
|
+
const subChartTop = prevGrid.top ?? 0;
|
|
234
|
+
const subChartHeight = prevGrid.height ?? 0;
|
|
235
|
+
this.customLegend[i].top = subChartTop + subChartHeight + margin;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
const seriesValue = this.series();
|
|
240
|
+
if (seriesValue) {
|
|
241
|
+
const optionSeries = this.actualOptions.series;
|
|
242
|
+
seriesValue.forEach(series => {
|
|
243
|
+
const s = Object.assign({
|
|
244
|
+
stack: this.stacked()
|
|
245
|
+
}, series);
|
|
246
|
+
if (s.type === 'line' && s.area) {
|
|
247
|
+
delete s.area;
|
|
248
|
+
s.areaStyle = {};
|
|
249
|
+
}
|
|
250
|
+
else {
|
|
251
|
+
s.areaStyle ??= null;
|
|
252
|
+
}
|
|
253
|
+
delete s.visible;
|
|
254
|
+
if ('symbol' in series && !this.shapePaths[series.symbol]) {
|
|
255
|
+
s.symbol = 'circle';
|
|
256
|
+
}
|
|
257
|
+
optionSeries.push(s);
|
|
258
|
+
if (this.showLegend() && series.name) {
|
|
259
|
+
let legendIndex = 0;
|
|
260
|
+
const axis = yAxisArray[series.yAxisIndex ?? 0];
|
|
261
|
+
if (axis?.position === 'right') {
|
|
262
|
+
legendIndex = 1;
|
|
263
|
+
}
|
|
264
|
+
let customLegendProp;
|
|
265
|
+
if (this.showCustomLegend()) {
|
|
266
|
+
// get left and right axis units from axis array
|
|
267
|
+
if (axis && (axis.show === undefined || axis.show)) {
|
|
268
|
+
if ((!leftUnitText || leftUnitText !== axis.name) && axis.position === 'left') {
|
|
269
|
+
if (axis.name != null) {
|
|
270
|
+
// axis.name is the same property name which eChart uses to display axis title,
|
|
271
|
+
// hence in case of custom legends units were shown at two places i.e. at axis
|
|
272
|
+
// title as well as custom legend unit section. Thus changing the property name
|
|
273
|
+
// to customLegendUnit only in case custom legends are used.
|
|
274
|
+
axis.customLegendUnit = axis.name;
|
|
275
|
+
}
|
|
276
|
+
if (axis.customLegendUnit != null) {
|
|
277
|
+
leftUnitText = axis.customLegendUnit;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
else if ((!rightUnitText || rightUnitText !== axis.name) &&
|
|
281
|
+
axis.position === 'right') {
|
|
282
|
+
if (axis.name != null) {
|
|
283
|
+
// axis.name is the same property name which eChart uses to display axis title,
|
|
284
|
+
// hence in case of custom legends units were shown at two places i.e. at axis
|
|
285
|
+
// title as well as custom legend unit section. Thus changing the property name
|
|
286
|
+
// to customLegendUnit only in case custom legends are used.
|
|
287
|
+
axis.customLegendUnit = axis.name;
|
|
288
|
+
}
|
|
289
|
+
if (axis.customLegendUnit != null) {
|
|
290
|
+
rightUnitText = axis.customLegendUnit;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
delete axis.name;
|
|
294
|
+
}
|
|
295
|
+
const unitText = axis.position === 'right' ? rightUnitText : leftUnitText;
|
|
296
|
+
customLegendProp = {
|
|
297
|
+
displayName: s.displayName,
|
|
298
|
+
tooltip: s.customLegendToolTip,
|
|
299
|
+
unit: unitText
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
// As we have only 1 xAxis per sub chart, xAxisIndex equals grid index.
|
|
303
|
+
const seriesSymbol = 'symbol' in s ? s.symbol : 'circle';
|
|
304
|
+
this.addLegendItem(series.name, series.visible, legendIndex, series.xAxisIndex, customLegendProp, seriesSymbol);
|
|
305
|
+
}
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
this.applyTitles();
|
|
309
|
+
if (this.externalZoomSlider()) {
|
|
310
|
+
this.extZoomSliderOptions.legend = this.actualOptions.legend;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
hasDifferentMarker() {
|
|
314
|
+
const seriesValue = this.series();
|
|
315
|
+
return !!seriesValue?.some(series => 'symbol' in series && series.symbol !== 'circle');
|
|
316
|
+
}
|
|
317
|
+
getGrid() {
|
|
318
|
+
const subChartGrids = this.subChartGrids();
|
|
319
|
+
if (subChartGrids) {
|
|
320
|
+
subChartGrids.forEach(g => (g.containLabel = false));
|
|
321
|
+
return subChartGrids;
|
|
322
|
+
}
|
|
323
|
+
return {};
|
|
324
|
+
}
|
|
325
|
+
refreshSeries(isLive = true, dzToSet) {
|
|
326
|
+
const seriesValue = this.series();
|
|
327
|
+
if (!seriesValue) {
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
const optionSeries = this.actualOptions.series;
|
|
331
|
+
seriesValue.forEach((series, i) => {
|
|
332
|
+
optionSeries[i].data = series.data;
|
|
333
|
+
});
|
|
334
|
+
super.refreshSeries(isLive, dzToSet);
|
|
335
|
+
}
|
|
336
|
+
hasData() {
|
|
337
|
+
return this.series()?.some(s => s.visible !== false && s.data && s.data.length > 0) ?? false;
|
|
338
|
+
}
|
|
339
|
+
handleSelectionChanged(event) {
|
|
340
|
+
if (event?.selected) {
|
|
341
|
+
this.series()?.forEach(series => (series.visible = event.selected[series.name] !== false));
|
|
342
|
+
}
|
|
343
|
+
super.handleSelectionChanged(event);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Update single chart data entry.
|
|
347
|
+
*/
|
|
348
|
+
addData(index, data) {
|
|
349
|
+
this.addDataInternal([{ index, data }]);
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Append charts data entries to the end of the series.
|
|
353
|
+
*/
|
|
354
|
+
addDataMulti(series) {
|
|
355
|
+
this.addDataInternal(series);
|
|
356
|
+
}
|
|
357
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiChartCartesianComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
358
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", type: SiChartCartesianComponent, isStandalone: true, selector: "si-chart-cartesian", inputs: { series: { classPropertyName: "series", publicName: "series", isSignal: true, isRequired: false, transformFunction: null }, subChartGrids: { classPropertyName: "subChartGrids", publicName: "subChartGrids", isSignal: true, isRequired: false, transformFunction: null }, yAxis: { classPropertyName: "yAxis", publicName: "yAxis", isSignal: true, isRequired: false, transformFunction: null }, xAxis: { classPropertyName: "xAxis", publicName: "xAxis", isSignal: true, isRequired: false, transformFunction: null }, tooltipFormatter: { classPropertyName: "tooltipFormatter", publicName: "tooltipFormatter", isSignal: true, isRequired: false, transformFunction: null }, stacked: { classPropertyName: "stacked", publicName: "stacked", isSignal: true, isRequired: false, transformFunction: null }, zoomMode: { classPropertyName: "zoomMode", publicName: "zoomMode", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@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", styles: [":host{block-size:100%;position:relative;display:flex!important;flex-direction:column;inline-size:100%}.chart-container-wrapper{display:flex;flex:1 0 0;inline-size:inherit;overflow:hidden}.chart-scroll{overflow-y:auto}.chart-container{position:relative;display:flex;flex:1 0 0;overflow:hidden}.echart-container{flex:1 0 0;inline-size:100%;min-block-size:var(--si-chart-min-height, 200px);overflow:hidden}.custom-legend{position:absolute;z-index:2;inline-size:100%}.chart-title{padding-block:12px 8px;padding-inline-start:24px}.external-zoom-container{display:flex;flex:1 0 0;inline-size:inherit;max-block-size:112px}.external-zoom-container.has-time-range-bar{max-block-size:calc(112px + var(--time-bar-height))}.tooltip-inner{max-inline-size:375px;min-inline-size:375px;color:#162938;font-size:18px;background-color:#162938}.time-range-bar{position:absolute;inset-inline:0;z-index:2}.progress-container{position:absolute;inset:0;pointer-events:none;z-index:100;display:flex;justify-content:center;align-items:center}\n"], dependencies: [{ kind: "component", type: SiCustomLegendComponent, selector: "si-custom-legend", inputs: ["customLegend", "title", "subTitle", "titleColor", "subTitleColor", "textColor"], outputs: ["legendIconClickEvent", "legendClickEvent", "legendHoverStartEvent", "legendHoverEndEvent"] }, { kind: "component", type: SiChartLoadingSpinnerComponent, selector: "si-chart-loading-spinner" }] });
|
|
359
|
+
}
|
|
360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiChartCartesianComponent, decorators: [{
|
|
361
|
+
type: Component,
|
|
362
|
+
args: [{ selector: 'si-chart-cartesian', imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent], template: "@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", styles: [":host{block-size:100%;position:relative;display:flex!important;flex-direction:column;inline-size:100%}.chart-container-wrapper{display:flex;flex:1 0 0;inline-size:inherit;overflow:hidden}.chart-scroll{overflow-y:auto}.chart-container{position:relative;display:flex;flex:1 0 0;overflow:hidden}.echart-container{flex:1 0 0;inline-size:100%;min-block-size:var(--si-chart-min-height, 200px);overflow:hidden}.custom-legend{position:absolute;z-index:2;inline-size:100%}.chart-title{padding-block:12px 8px;padding-inline-start:24px}.external-zoom-container{display:flex;flex:1 0 0;inline-size:inherit;max-block-size:112px}.external-zoom-container.has-time-range-bar{max-block-size:calc(112px + var(--time-bar-height))}.tooltip-inner{max-inline-size:375px;min-inline-size:375px;color:#162938;font-size:18px;background-color:#162938}.time-range-bar{position:absolute;inset-inline:0;z-index:2}.progress-container{position:absolute;inset:0;pointer-events:none;z-index:100;display:flex;justify-content:center;align-items:center}\n"] }]
|
|
363
|
+
}], propDecorators: { series: [{ type: i0.Input, args: [{ isSignal: true, alias: "series", required: false }] }], subChartGrids: [{ type: i0.Input, args: [{ isSignal: true, alias: "subChartGrids", required: false }] }], yAxis: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxis", required: false }] }], xAxis: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxis", required: false }] }], tooltipFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipFormatter", required: false }] }], stacked: [{ type: i0.Input, args: [{ isSignal: true, alias: "stacked", required: false }] }], zoomMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomMode", required: false }] }] } });
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
367
|
+
* SPDX-License-Identifier: MIT
|
|
368
|
+
*/
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Generated bundle index. Do not edit.
|
|
372
|
+
*/
|
|
373
|
+
|
|
374
|
+
export { SiChartCartesianComponent };
|
|
375
|
+
//# sourceMappingURL=siemens-charts-ng-cartesian.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"siemens-charts-ng-cartesian.mjs","sources":["../../../../projects/charts-ng/cartesian/si-chart-cartesian.component.ts","../../../../projects/charts-ng/common/si-chart-base.component.html","../../../../projects/charts-ng/cartesian/index.ts","../../../../projects/charts-ng/cartesian/siemens-charts-ng-cartesian.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Component, input, OnChanges, SimpleChanges } from '@angular/core';\nimport {\n echarts,\n GridComponentOption,\n LegendComponentOption,\n TooltipComponentOption,\n SiChartBaseComponent,\n ChartXAxis,\n ChartYAxis,\n DataZoomRange,\n SeriesUpdate\n} from '@siemens/charts-ng/common';\nimport {\n CustomLegend,\n CustomLegendProps,\n SiCustomLegendComponent\n} from '@siemens/charts-ng/custom-legend';\nimport { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';\nimport { BarChart, LineChart, ScatterChart, CandlestickChart, HeatmapChart } from 'echarts/charts';\nimport {\n LegendComponent,\n GridComponent,\n DataZoomComponent,\n VisualMapComponent,\n ToolboxComponent,\n BrushComponent,\n MarkAreaComponent,\n MarkLineComponent,\n MarkPointComponent,\n AxisPointerComponent\n} from 'echarts/components';\nimport { LegacyGridContainLabel } from 'echarts/features';\n\nimport {\n CartesianChartData,\n CartesianChartSeries,\n SubchartGrid\n} from './si-chart-cartesian.interfaces';\n\necharts.use([\n BarChart,\n LineChart,\n ScatterChart,\n CandlestickChart,\n HeatmapChart,\n LegendComponent,\n GridComponent,\n DataZoomComponent,\n VisualMapComponent,\n ToolboxComponent,\n BrushComponent,\n MarkAreaComponent,\n MarkLineComponent,\n MarkPointComponent,\n AxisPointerComponent,\n LegacyGridContainLabel\n]);\n\n@Component({\n selector: 'si-chart-cartesian',\n imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent],\n templateUrl: '../common/si-chart-base.component.html',\n styleUrl: '../common/si-chart-base.component.scss'\n})\nexport class SiChartCartesianComponent extends SiChartBaseComponent implements OnChanges {\n /** The series for the chart. */\n readonly series = input<CartesianChartSeries[]>();\n readonly subChartGrids = input<SubchartGrid[]>();\n /** The y axis in cartesian(rectangular) coordinate. */\n readonly yAxis = input<ChartYAxis | ChartYAxis[]>();\n /** The x axis in cartesian(rectangular) coordinate. */\n readonly xAxis = input<ChartXAxis | ChartXAxis[]>();\n /** The content formatter of tooltip's floating layer which supports string template and callback function (see (see {@link https://echarts.apache.org/en/option.html#tooltip.formatter }). */\n readonly tooltipFormatter = input<TooltipComponentOption['formatter']>();\n /**\n * Used to display the chart as a stacked one.\n *\n * @defaultValue false\n */\n readonly stacked = input(false);\n /** Enable or disable brush zoom mode */\n readonly zoomMode = input<boolean>();\n\n // Used to toggle different chart types\n override ngOnChanges(changes: SimpleChanges): void {\n if (changes.zoomMode) {\n this.setZoomMode();\n }\n if (changes.stacked) {\n changes.forceAll = changes.stacked;\n }\n if (changes.subChartGrids) {\n changes.forceAll = changes.subChartGrids;\n }\n super.ngOnChanges(changes);\n }\n\n private formatTooltip(p: object | object[]): string {\n const params = Array.isArray(p) ? p : [p];\n const label: string = params[0]?.axisValueLabel ?? '';\n\n let html = label;\n for (const series of params) {\n const isCandle = series.componentSubType === 'candlestick';\n const isPie = series.componentSubType === 'pie';\n const useName = series.name != series.axisValue;\n const name = isPie\n ? series.data.name\n : useName\n ? // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n series.name || series.seriesName\n : series.seriesName;\n const valIndex = (series.encode.value ?? series.encode.y)[0];\n const value = isCandle\n ? ''\n : isPie\n ? series.percent + '%'\n : Array.isArray(series.value)\n ? series.value[valIndex]\n : series.value;\n\n html += '<div style=\"display: flex; align-items: center;\">';\n html += this.getSeriesMarkerSvg(name);\n html += `<span style=\"margin-inline: 4px 8px\">${name}</span>`;\n html += `<span style=\"margin-inline-start: auto\">${value}</span>`;\n html += '</div>';\n }\n return html;\n }\n\n /**\n * Get the series marker svg by series name.\n */\n getSeriesMarkerSvg(seriesName: string): string {\n const seriesValue = this.actualOptions.series as CartesianChartSeries[];\n let sym;\n if (seriesValue) {\n sym = this.getSeriesMarker(seriesName);\n const symbol = this.shapePaths[sym as string];\n const color = this.getSeriesColorBySeriesName(seriesName);\n return `<svg width=\"12\" height=\"12\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"${symbol}\" fill=\"${color}\" />\n </svg>`;\n }\n return '';\n }\n\n /**\n * Get the series marker by series name.\n */\n getSeriesMarker(seriesName: string): string {\n const seriesValue = this.actualOptions.series as CartesianChartSeries[];\n if (seriesValue) {\n const seriesMarker = seriesValue.find(ser => ser.name === seriesName);\n if (seriesMarker && 'symbol' in seriesMarker) {\n return seriesMarker.symbol as string;\n }\n }\n return 'circle';\n }\n\n protected override afterChartInit(skipZoom?: boolean): void {\n super.afterChartInit(skipZoom);\n if (this.zoomMode()) {\n this.setZoomMode();\n }\n }\n\n protected override setZoomMode(): void {\n this.dispatchEChartAction({\n type: 'takeGlobalCursor',\n key: 'dataZoomSelect',\n dataZoomSelectActive: this.zoomMode()\n });\n }\n\n protected override getValidXAxis(): Set<number> {\n const validXAxis: Set<number> = new Set<number>();\n this.series()?.forEach(series => {\n if (series.visible !== false && series.xAxisIndex !== undefined) {\n validXAxis.add(series.xAxisIndex);\n }\n });\n return validXAxis;\n }\n\n protected override applyOptions(): void {\n this.actualOptions = {\n series: [],\n xAxis: this.xAxis(),\n grid: this.getGrid(),\n yAxis: this.yAxis(),\n toolbox: {\n showTitle: false,\n itemSize: 0,\n feature: {\n dataZoom: {\n filterMode: 'none',\n xAxisIndex: 'all',\n yAxisIndex: false,\n icon: {\n zoom: 'image://',\n back: 'image://'\n }\n }\n }\n },\n legend: [\n {\n data: []\n },\n {\n data: []\n }\n ],\n tooltip: {\n trigger: 'axis',\n confine: true\n }\n };\n const tooltipFormatter = this.tooltipFormatter();\n if (tooltipFormatter) {\n this.actualOptions.tooltip.formatter = tooltipFormatter;\n } else if (this.hasDifferentMarker()) {\n this.actualOptions.tooltip.formatter = this.formatTooltip.bind(this);\n }\n\n const yAxis = this.yAxis();\n const yAxisArray = Array.isArray(yAxis) ? yAxis : yAxis ? [yAxis] : [];\n const numRight = yAxisArray.reduce((acc, cur) => acc + (cur.position === 'right' ? 1 : 0), 0);\n const numLeft = yAxisArray.length - numRight;\n const legendLeftOptions = this.getThemeCustomValue(['legendLeft'], {});\n const legendRightOptions = this.getThemeCustomValue(['legendRight'], {});\n let leftUnitText: string | undefined;\n let rightUnitText: string | undefined;\n const legends = this.actualOptions.legend as LegendComponentOption[];\n if (numLeft && numRight) {\n echarts.util.merge(legends[0], legendLeftOptions, true);\n echarts.util.merge(legends[1], legendRightOptions, true);\n } else if (Array.isArray(this.yAxis()) && numLeft) {\n echarts.util.merge(legends[0], { left: legendLeftOptions.left }, true);\n } else if (numRight) {\n echarts.util.merge(legends[1], { right: legendRightOptions.right }, true);\n }\n\n const subChartGrids = this.subChartGrids();\n if (subChartGrids) {\n if (subChartGrids.length !== this.customLegend.length) {\n const diff = subChartGrids.length - this.customLegend.length;\n if (diff < 0) {\n this.customLegend.length = subChartGrids.length;\n } else {\n for (let i = 0; i < diff; i++) {\n // Add default custom legends for all grids\n const cl: CustomLegend = {\n customLegends: [\n { list: [], unit: '' },\n { list: [], unit: '' }\n ],\n legendAxis: 'both'\n };\n this.customLegend.push(cl);\n }\n }\n }\n const margin = 16;\n // calculate custom legend positions from top according to subcharts.\n for (let i = 0; i < subChartGrids.length; i++) {\n if (i === 0) {\n this.customLegend[i].top = 0;\n } else {\n const prevGrid = subChartGrids[i - 1];\n const subChartTop = (prevGrid.top as number) ?? 0;\n const subChartHeight = (prevGrid.height as number) ?? 0;\n this.customLegend[i].top = subChartTop + subChartHeight + margin;\n }\n }\n }\n\n const seriesValue = this.series();\n if (seriesValue) {\n const optionSeries = this.actualOptions.series as CartesianChartSeries[];\n seriesValue.forEach(series => {\n const s: any = Object.assign(\n {\n stack: this.stacked()\n },\n series\n );\n if (s.type === 'line' && s.area) {\n delete s.area;\n s.areaStyle = {};\n } else {\n s.areaStyle ??= null;\n }\n delete s.visible;\n\n if ('symbol' in series && !this.shapePaths[series.symbol as string]) {\n s.symbol = 'circle';\n }\n\n optionSeries.push(s);\n\n if (this.showLegend() && series.name) {\n let legendIndex = 0;\n const axis = yAxisArray[series.yAxisIndex ?? 0];\n if (axis?.position === 'right') {\n legendIndex = 1;\n }\n\n let customLegendProp: CustomLegendProps | undefined;\n if (this.showCustomLegend()) {\n // get left and right axis units from axis array\n if (axis && (axis.show === undefined || axis.show)) {\n if ((!leftUnitText || leftUnitText !== axis.name) && axis.position === 'left') {\n if (axis.name != null) {\n // axis.name is the same property name which eChart uses to display axis title,\n // hence in case of custom legends units were shown at two places i.e. at axis\n // title as well as custom legend unit section. Thus changing the property name\n // to customLegendUnit only in case custom legends are used.\n axis.customLegendUnit = axis.name;\n }\n if (axis.customLegendUnit != null) {\n leftUnitText = axis.customLegendUnit;\n }\n } else if (\n (!rightUnitText || rightUnitText !== axis.name) &&\n axis.position === 'right'\n ) {\n if (axis.name != null) {\n // axis.name is the same property name which eChart uses to display axis title,\n // hence in case of custom legends units were shown at two places i.e. at axis\n // title as well as custom legend unit section. Thus changing the property name\n // to customLegendUnit only in case custom legends are used.\n axis.customLegendUnit = axis.name;\n }\n if (axis.customLegendUnit != null) {\n rightUnitText = axis.customLegendUnit;\n }\n }\n delete axis.name;\n }\n\n const unitText = axis.position === 'right' ? rightUnitText : leftUnitText;\n customLegendProp = {\n displayName: s.displayName,\n tooltip: s.customLegendToolTip,\n unit: unitText\n };\n }\n // As we have only 1 xAxis per sub chart, xAxisIndex equals grid index.\n const seriesSymbol = 'symbol' in s ? (s.symbol as string) : 'circle';\n this.addLegendItem(\n series.name as string,\n series.visible,\n legendIndex,\n series.xAxisIndex,\n customLegendProp,\n seriesSymbol\n );\n }\n });\n }\n\n this.applyTitles();\n if (this.externalZoomSlider()) {\n this.extZoomSliderOptions.legend = this.actualOptions.legend;\n }\n }\n\n private hasDifferentMarker(): boolean {\n const seriesValue = this.series();\n return !!seriesValue?.some(series => 'symbol' in series && series.symbol !== 'circle');\n }\n\n private getGrid(): GridComponentOption | GridComponentOption[] {\n const subChartGrids = this.subChartGrids();\n if (subChartGrids) {\n subChartGrids.forEach(g => (g.containLabel = false));\n return subChartGrids as GridComponentOption[];\n }\n return {};\n }\n\n override refreshSeries(isLive: boolean = true, dzToSet?: DataZoomRange): void {\n const seriesValue = this.series();\n if (!seriesValue) {\n return;\n }\n const optionSeries = this.actualOptions.series as CartesianChartSeries[];\n seriesValue.forEach((series, i) => {\n optionSeries[i].data = series.data;\n });\n super.refreshSeries(isLive, dzToSet);\n }\n\n protected override hasData(): boolean {\n return this.series()?.some(s => s.visible !== false && s.data && s.data.length > 0) ?? false;\n }\n\n protected override handleSelectionChanged(event: any): void {\n if (event?.selected) {\n this.series()?.forEach(series => (series.visible = event.selected[series.name!] !== false));\n }\n super.handleSelectionChanged(event);\n }\n\n /**\n * Update single chart data entry.\n */\n addData(index: number, data: CartesianChartData): void {\n this.addDataInternal([{ index, data }]);\n }\n\n /**\n * Append charts data entries to the end of the series.\n */\n addDataMulti(series: SeriesUpdate<CartesianChartData>[]): void {\n this.addDataInternal(series);\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 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-chart-cartesian.component';\nexport * from './si-chart-cartesian.interfaces';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EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,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,EAAA,eAAA,EAAA,IAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECpEtC,omEAgEA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDAY,uBAAuB,+PAAE,8BAA8B,EAAA,QAAA,EAAA,0BAAA,EAAA,CAAA,EAAA,CAAA;;2FAItD,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAAA,OAAA,EACrB,CAAC,uBAAuB,EAAE,8BAA8B,CAAC,EAAA,QAAA,EAAA,omEAAA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA;;;AEhEpE;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { echarts, SiChartBaseComponent } from '@siemens/charts-ng/common';
|
|
4
|
+
import { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';
|
|
5
|
+
import { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';
|
|
6
|
+
import { BarChart, LineChart, ScatterChart, CandlestickChart, HeatmapChart, PieChart, GaugeChart, SankeyChart, SunburstChart } from 'echarts/charts';
|
|
7
|
+
import { LegendComponent, GridComponent, DataZoomComponent, VisualMapComponent, ToolboxComponent, BrushComponent, MarkAreaComponent, MarkLineComponent, MarkPointComponent, AxisPointerComponent } from 'echarts/components';
|
|
8
|
+
import { LegacyGridContainLabel } from 'echarts/features';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*/
|
|
14
|
+
echarts.use([
|
|
15
|
+
BarChart,
|
|
16
|
+
LineChart,
|
|
17
|
+
ScatterChart,
|
|
18
|
+
CandlestickChart,
|
|
19
|
+
HeatmapChart,
|
|
20
|
+
PieChart,
|
|
21
|
+
GaugeChart,
|
|
22
|
+
SankeyChart,
|
|
23
|
+
SunburstChart,
|
|
24
|
+
LegendComponent,
|
|
25
|
+
GridComponent,
|
|
26
|
+
DataZoomComponent,
|
|
27
|
+
VisualMapComponent,
|
|
28
|
+
ToolboxComponent,
|
|
29
|
+
BrushComponent,
|
|
30
|
+
MarkAreaComponent,
|
|
31
|
+
MarkLineComponent,
|
|
32
|
+
MarkPointComponent,
|
|
33
|
+
AxisPointerComponent,
|
|
34
|
+
LegacyGridContainLabel
|
|
35
|
+
]);
|
|
36
|
+
class SiChartComponent extends SiChartBaseComponent {
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", type: SiChartComponent, isStandalone: true, selector: "si-chart", usesInheritance: true, ngImport: i0, template: "@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", styles: [":host{block-size:100%;position:relative;display:flex!important;flex-direction:column;inline-size:100%}.chart-container-wrapper{display:flex;flex:1 0 0;inline-size:inherit;overflow:hidden}.chart-scroll{overflow-y:auto}.chart-container{position:relative;display:flex;flex:1 0 0;overflow:hidden}.echart-container{flex:1 0 0;inline-size:100%;min-block-size:var(--si-chart-min-height, 200px);overflow:hidden}.custom-legend{position:absolute;z-index:2;inline-size:100%}.chart-title{padding-block:12px 8px;padding-inline-start:24px}.external-zoom-container{display:flex;flex:1 0 0;inline-size:inherit;max-block-size:112px}.external-zoom-container.has-time-range-bar{max-block-size:calc(112px + var(--time-bar-height))}.tooltip-inner{max-inline-size:375px;min-inline-size:375px;color:#162938;font-size:18px;background-color:#162938}.time-range-bar{position:absolute;inset-inline:0;z-index:2}.progress-container{position:absolute;inset:0;pointer-events:none;z-index:100;display:flex;justify-content:center;align-items:center}\n"], dependencies: [{ kind: "component", type: SiCustomLegendComponent, selector: "si-custom-legend", inputs: ["customLegend", "title", "subTitle", "titleColor", "subTitleColor", "textColor"], outputs: ["legendIconClickEvent", "legendClickEvent", "legendHoverStartEvent", "legendHoverEndEvent"] }, { kind: "component", type: SiChartLoadingSpinnerComponent, selector: "si-chart-loading-spinner" }] });
|
|
39
|
+
}
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiChartComponent, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{ selector: 'si-chart', imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent], template: "@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", styles: [":host{block-size:100%;position:relative;display:flex!important;flex-direction:column;inline-size:100%}.chart-container-wrapper{display:flex;flex:1 0 0;inline-size:inherit;overflow:hidden}.chart-scroll{overflow-y:auto}.chart-container{position:relative;display:flex;flex:1 0 0;overflow:hidden}.echart-container{flex:1 0 0;inline-size:100%;min-block-size:var(--si-chart-min-height, 200px);overflow:hidden}.custom-legend{position:absolute;z-index:2;inline-size:100%}.chart-title{padding-block:12px 8px;padding-inline-start:24px}.external-zoom-container{display:flex;flex:1 0 0;inline-size:inherit;max-block-size:112px}.external-zoom-container.has-time-range-bar{max-block-size:calc(112px + var(--time-bar-height))}.tooltip-inner{max-inline-size:375px;min-inline-size:375px;color:#162938;font-size:18px;background-color:#162938}.time-range-bar{position:absolute;inset-inline:0;z-index:2}.progress-container{position:absolute;inset:0;pointer-events:none;z-index:100;display:flex;justify-content:center;align-items:center}\n"] }]
|
|
43
|
+
}] });
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Copyright (c) Siemens 2016 - 2025
|
|
47
|
+
* SPDX-License-Identifier: MIT
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Generated bundle index. Do not edit.
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
export { SiChartComponent };
|
|
55
|
+
//# sourceMappingURL=siemens-charts-ng-chart.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"siemens-charts-ng-chart.mjs","sources":["../../../../projects/charts-ng/chart/si-chart.component.ts","../../../../projects/charts-ng/common/si-chart-base.component.html","../../../../projects/charts-ng/chart/index.ts","../../../../projects/charts-ng/chart/siemens-charts-ng-chart.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Component } from '@angular/core';\nimport { echarts, SiChartBaseComponent } from '@siemens/charts-ng/common';\nimport { SiCustomLegendComponent } from '@siemens/charts-ng/custom-legend';\nimport { SiChartLoadingSpinnerComponent } from '@siemens/charts-ng/loading-spinner';\nimport {\n BarChart,\n LineChart,\n ScatterChart,\n CandlestickChart,\n HeatmapChart,\n PieChart,\n GaugeChart,\n SankeyChart,\n SunburstChart\n} from 'echarts/charts';\nimport {\n LegendComponent,\n GridComponent,\n DataZoomComponent,\n VisualMapComponent,\n ToolboxComponent,\n BrushComponent,\n MarkAreaComponent,\n MarkLineComponent,\n MarkPointComponent,\n AxisPointerComponent\n} from 'echarts/components';\nimport { LegacyGridContainLabel } from 'echarts/features';\n\necharts.use([\n BarChart,\n LineChart,\n ScatterChart,\n CandlestickChart,\n HeatmapChart,\n PieChart,\n GaugeChart,\n SankeyChart,\n SunburstChart,\n LegendComponent,\n GridComponent,\n DataZoomComponent,\n VisualMapComponent,\n ToolboxComponent,\n BrushComponent,\n MarkAreaComponent,\n MarkLineComponent,\n MarkPointComponent,\n AxisPointerComponent,\n LegacyGridContainLabel\n]);\n\n@Component({\n selector: 'si-chart',\n imports: [SiCustomLegendComponent, SiChartLoadingSpinnerComponent],\n templateUrl: '../common/si-chart-base.component.html',\n styleUrl: '../common/si-chart-base.component.scss'\n})\nexport class SiChartComponent extends SiChartBaseComponent {}\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 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-chart.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;AAGG;AA8BH,OAAO,CAAC,GAAG,CAAC;IACV,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,gBAAgB;IAChB,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,WAAW;IACX,aAAa;IACb,eAAe;IACf,aAAa;IACb,iBAAiB;IACjB,kBAAkB;IAClB,gBAAgB;IAChB,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;IAClB,oBAAoB;IACpB;AACD,CAAA,CAAC;AAQI,MAAO,gBAAiB,SAAQ,oBAAoB,CAAA;uGAA7C,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,UAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC9D7B,omEAgEA,EAAA,MAAA,EAAA,CAAA,4/BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDNY,uBAAuB,+PAAE,8BAA8B,EAAA,QAAA,EAAA,0BAAA,EAAA,CAAA,EAAA,CAAA;;2FAItD,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,UAAU,EAAA,OAAA,EACX,CAAC,uB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