Commit ccd316a91b18d78697cba4dd6e7a6251685cbcf4
1 parent
1891af54
UI: Restore data generation condition - fix realtime data generator
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -799,7 +799,7 @@ export class EntityDataSubscription { |
799 | 799 | } else { |
800 | 800 | prevSeries = [0, 0]; |
801 | 801 | } |
802 | - for (let time = startTime; time < endTime && (this.timer || this.history); time += this.frequency) { | |
802 | + for (let time = startTime; time <= endTime && (this.timer || this.history); time += this.frequency) { | |
803 | 803 | const value = dataKey.func(time, prevSeries[1]); |
804 | 804 | const series: [number, any] = [time, value]; |
805 | 805 | data.push(series); | ... | ... |