Friday, 20 September 2019

Kendo Angular UI Gauges resize themself after update

Im using the RedialGauge from Kendo UI together with angular.

Im loading my data for the gauges dynamically from an api with rxjs every 3 minutes, here is my code:

interval(2e5)
   .pipe(
      startWith(() => forkJoin(
          this.service.getStatistics(),
          this.service.otherCall()
        )
      ),
      switchMap(() => forkJoin(
          this.service.getStatistics(),
          this.service.otherCall()
        )
      ),
      retryWhen((err) => err.pipe(
          take(3)
        )
      )
   ).subscribe(([statistics, others]) => {
      this.statistics = statistics;
      ...
   });

After the init load all is fine and the gauges look like they supposed to enter image description here

But after the next update the gauges resize them self randomly enter image description here



from Kendo Angular UI Gauges resize themself after update

No comments:

Post a Comment