@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.
@@ -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',