From 1c880db34bec4a98d812e0a28a50174aafa04fd1 Mon Sep 17 00:00:00 2001 From: Dan Labrecque Date: Wed, 15 Jan 2025 11:18:37 -0500 Subject: [PATCH] Modified y-axis label to show 0-2 decimal places https://issues.redhat.com/browse/COST-5829 --- src/utils/format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/format.ts b/src/utils/format.ts index edddb8199..937a0dd5d 100644 --- a/src/utils/format.ts +++ b/src/utils/format.ts @@ -72,7 +72,7 @@ export const formatCurrencyAbbreviation: Formatter = (value, units = 'USD') => { symbol, value: formatCurrency(fValue / val, units, { minimumFractionDigits: 0, - maximumFractionDigits: 0, + maximumFractionDigits: 2, }), }) as string; }