Merge branch 'develop' of https://git.akkerweb.nl/FarmMaps/FarmMapsLib into develop
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma
2021-06-03 09:34:11 +02:00
7 changed files with 312 additions and 30 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'}} %</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;
}
}
}