@c8y/ngx-components 1023.17.8 → 1023.17.11
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/c8y-ngx-components-echart.mjs +5 -3
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-events-events-timeline.mjs +2 -2
- package/fesm2022/c8y-ngx-components-events-events-timeline.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-operations-timeline.mjs +4 -6
- package/fesm2022/c8y-ngx-components-operations-operations-timeline.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +2 -2
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/locales/de.po +50 -70
- package/locales/zh_TW.po +2 -1
- package/operations/operations-timeline/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -139,7 +139,8 @@ class YAxisService {
|
|
|
139
139
|
label: {
|
|
140
140
|
show: false
|
|
141
141
|
}
|
|
142
|
-
}
|
|
142
|
+
},
|
|
143
|
+
...(datapointsWithValues[0] ? {} : { min: 0, max: 100 })
|
|
143
144
|
};
|
|
144
145
|
}
|
|
145
146
|
const matchingDpSet = new Set();
|
|
@@ -231,6 +232,7 @@ class YAxisService {
|
|
|
231
232
|
show: false
|
|
232
233
|
}
|
|
233
234
|
},
|
|
235
|
+
...(Object.keys(dp.values || {}).length > 0 ? {} : { min: 0, max: 100 }),
|
|
234
236
|
...(dp.min && { min: dp.min }),
|
|
235
237
|
...(dp.max && { max: dp.max })
|
|
236
238
|
};
|
|
@@ -511,8 +513,8 @@ class EchartsOptionsService {
|
|
|
511
513
|
show: false
|
|
512
514
|
},
|
|
513
515
|
xAxis: {
|
|
514
|
-
min: aggregatedDatapoint
|
|
515
|
-
? Object.keys(aggregatedDatapoint.values)
|
|
516
|
+
min: Object.keys(aggregatedDatapoint.values || {}).length > 0
|
|
517
|
+
? Object.keys(aggregatedDatapoint.values || {})
|
|
516
518
|
.map(date => new Date(date).valueOf())
|
|
517
519
|
.sort((a, b) => a - b)[0]
|
|
518
520
|
: new Date(timeRange.dateFrom).valueOf() - intervalInMs,
|