Skip to content

Commit 1c880db

Browse files
committed
Modified y-axis label to show 0-2 decimal places
https://issues.redhat.com/browse/COST-5829
1 parent 5f075e9 commit 1c880db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/format.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const formatCurrencyAbbreviation: Formatter = (value, units = 'USD') => {
7272
symbol,
7373
value: formatCurrency(fValue / val, units, {
7474
minimumFractionDigits: 0,
75-
maximumFractionDigits: 0,
75+
maximumFractionDigits: 2,
7676
}),
7777
}) as string;
7878
}

0 commit comments

Comments
 (0)