Merge pull request #10108 from rusikv/bug/chart-card-value-color
Fixed chart card value color differs from other widgets with same values and range colors configs
This commit is contained in:
		
						commit
						7a892b9323
					
				@ -241,8 +241,8 @@ export class AggregatedValueCardWidgetComponent implements OnInit, AfterViewInit
 | 
			
		||||
        } else {
 | 
			
		||||
          aggValue.value = 'N/A';
 | 
			
		||||
        }
 | 
			
		||||
        aggValue.color.update(value);
 | 
			
		||||
        const numeric = formatNumberValue(value, (aggValue.key.decimals || this.ctx.decimals));
 | 
			
		||||
        aggValue.color.update(numeric);
 | 
			
		||||
        if (aggValue.showArrow && isDefined(numeric)) {
 | 
			
		||||
          aggValue.upArrow = numeric > 0;
 | 
			
		||||
          aggValue.downArrow = numeric < 0;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user