Commit ccd316a91b18d78697cba4dd6e7a6251685cbcf4

Authored by Igor Kulikov
1 parent 1891af54

UI: Restore data generation condition - fix realtime data generator

... ... @@ -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);
... ...