Fix format string on numbers
This commit is contained in:
parent
c3c0ad74a7
commit
28b25da1ad
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user