@c8y/ngx-components 1023.47.0 → 1023.47.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/fesm2022/c8y-ngx-components-echart.mjs +2 -2
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/locales/de.po +5 -2
- package/locales/es.po +5 -2
- package/locales/fr.po +5 -2
- package/locales/ja_JP.po +5 -2
- package/locales/ko.po +5 -2
- package/locales/nl.po +5 -2
- package/locales/pl.po +5 -2
- package/locales/pt_BR.po +5 -2
- package/locales/zh_CN.po +5 -2
- package/locales/zh_TW.po +5 -2
- package/package.json +1 -1
|
@@ -557,9 +557,9 @@ class EchartsOptionsService {
|
|
|
557
557
|
},
|
|
558
558
|
xAxis: {
|
|
559
559
|
min: Object.keys(aggregatedDatapoint.values || {}).length > 0
|
|
560
|
-
? Object.keys(aggregatedDatapoint.values
|
|
560
|
+
? Math.min(Object.keys(aggregatedDatapoint.values)
|
|
561
561
|
.map(date => new Date(date).valueOf())
|
|
562
|
-
.sort((a, b) => a - b)[0]
|
|
562
|
+
.sort((a, b) => a - b)[0], new Date(timeRange.dateFrom).valueOf())
|
|
563
563
|
: new Date(timeRange.dateFrom).valueOf() - intervalInMs,
|
|
564
564
|
max: new Date(timeRange.dateTo).valueOf(),
|
|
565
565
|
type: 'time',
|