Browse Source

Merge pull request #8826 from deaflynx/fix/prod-2207/display-analogue-gauge-values

[3.5.2] Fix prod-2207: display correctly analogue gauge values
pull/8849/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
7dad4cbf2f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/analogue-gauge.models.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/analogue-gauge.models.ts

@ -85,7 +85,7 @@ export abstract class TbBaseGauge<S, O extends GenericOptions> {
if (cellData.data.length > 0) {
const tvPair = cellData.data[cellData.data.length -
1];
const value = tvPair[1];
const value = parseFloat(tvPair[1]);
if (value !== this.gauge.value) {
this.gauge.value = value;
}

Loading…
Cancel
Save