Fix format string on numbers

This commit is contained in:
Patrick Gebhardt 2020-06-25 21:12:08 +02:00
parent c3c0ad74a7
commit 28b25da1ad

View File

@ -27,7 +27,8 @@
<mat-tab-group>
<mat-tab *ngIf="region.avg_price_relative" label="Price Deviation">
<ng-template matTabContent>
<app-graph [monthlyDatas]="[region.avg_price_relative]" class="graph" formatSting="##,##%" graphType="column">
<app-graph [monthlyDatas]="[region.avg_price_relative]" class="graph" formatSting="##0.##'%'"
graphType="column">
</app-graph>
</ng-template>
</mat-tab>
@ -41,7 +42,7 @@
</mat-tab>
<mat-tab *ngIf="region.precipitation" label="Precipitation">
<ng-template matTabContent>
<app-graph [monthlyDatas]="[region.precipitation]" class="graph" formatSting="####mm">
<app-graph [monthlyDatas]="[region.precipitation]" class="graph" formatSting="####'mm'">
</app-graph>
</ng-template>
</mat-tab>