AW-2388
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Peter (extern) 2021-05-26 16:11:21 +02:00
parent 880eb26a99
commit 00ae86ecf2
2 changed files with 2 additions and 4 deletions

View File

@ -23,7 +23,7 @@
<div *ngIf="showHistogram()">
<span class="bar" [style.background-color]="getHex(entry.color)" [style.width]="getPart(layer.renderer, i)">
</span>
<span *ngIf="getPercentage(layer.renderer,i) as percentage" class="bar-label">{{percentage | number:'1.0-2'}}</span>
<span *ngIf="getPercentage(layer.renderer,i) as percentage" class="bar-label">{{percentage | number:'1.0-2'}} {{legendunit}}</span>
</div>
</td>
</tr>

View File

@ -95,6 +95,4 @@ export class LegendComponent implements OnInit,AfterViewInit {
bandContainsStatistics(): boolean {
return this.layer.renderer.band.statistics != null;
}
}
}