currencyPipe fixed
This commit is contained in:
parent
3a0cf4c8dc
commit
65f149c0f8
7 changed files with 17 additions and 17 deletions
|
@ -137,7 +137,7 @@ export class GraphWidget implements OnInit {
|
|||
private tooltipLabelCallback(tooltipItem: any, data: any) {
|
||||
const value = tooltipItem.yLabel;
|
||||
if ( this.dataType === DataType.currency ) {
|
||||
return this.currencyPipe.transform(value, 'GBP', true, '1.2-2');
|
||||
return this.currencyPipe.transform(value, 'GBP', 'symbol', '1.2-2');
|
||||
}
|
||||
return value || '0';
|
||||
}
|
||||
|
|
Reference in a new issue