AW-2388
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
880eb26a99
commit
00ae86ecf2
@ -23,7 +23,7 @@
|
|||||||
<div *ngIf="showHistogram()">
|
<div *ngIf="showHistogram()">
|
||||||
<span class="bar" [style.background-color]="getHex(entry.color)" [style.width]="getPart(layer.renderer, i)">
|
<span class="bar" [style.background-color]="getHex(entry.color)" [style.width]="getPart(layer.renderer, i)">
|
||||||
</span>
|
</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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -95,6 +95,4 @@ export class LegendComponent implements OnInit,AfterViewInit {
|
|||||||
bandContainsStatistics(): boolean {
|
bandContainsStatistics(): boolean {
|
||||||
return this.layer.renderer.band.statistics != null;
|
return this.layer.renderer.band.statistics != null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user