Skip to content

Commit 0369939

Browse files
committed
[#noissue] Fix: start realtime on init-phase on scatter
1 parent 99deca7 commit 0369939

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web-frontend/src/main/angular/src/app/core/components/scatter-chart/scatter-chart.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ export class ScatterChartComponent implements OnInit, OnDestroy, OnChanges {
8888
this.addSubscribeForInstance();
8989
this.addSubscribeForService();
9090
this.addToWindow();
91+
92+
if (this.mode === 'realtime') {
93+
this.scatterChartInstance.reset(this.application, this.agent, this.fromX, this.toX, this.mode);
94+
}
9195
} else {
9296
if (changes['timezone'] && changes['timezone'].currentValue) {
9397
this.scatterChartInstance.setTimezone(this.timezone);

0 commit comments

Comments
 (0)