From 1d0ea2f4856dce1fa4cb587833af6006bc6bcd1f Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Wed, 4 Mar 2026 08:57:49 +0100 Subject: [PATCH] =?UTF-8?q?fix(vendor):=20abbreviate=20large=20BSR=20numbe?= =?UTF-8?q?rs=20on=20Y-axis=20(500000=20=E2=86=92=20500K,=201.2M)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- components/VendorDataView.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/components/VendorDataView.tsx b/components/VendorDataView.tsx index c2abf96..9b431b7 100644 --- a/components/VendorDataView.tsx +++ b/components/VendorDataView.tsx @@ -475,7 +475,7 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad
- + = ({ bsrData = [], asinMetad axisLine={false} tickLine={false} tick={{ fill: '#64748b', fontSize: 11, fontWeight: 500 }} - dx={-10} + tickFormatter={(v: number) => v >= 1_000_000 ? `${(v / 1_000_000).toFixed(1).replace(/\.0$/, '')}M` : v >= 1_000 ? `${Math.round(v / 1_000)}K` : String(v)} + width={45} /> = ({ bsrData = [], asinMetad
- + = ({ bsrData = [], asinMetad axisLine={false} tickLine={false} tick={{ fill: '#64748b', fontSize: 11, fontWeight: 500 }} - dx={-10} + tickFormatter={(v: number) => v >= 1_000_000 ? `${(v / 1_000_000).toFixed(1).replace(/\.0$/, '')}M` : v >= 1_000 ? `${Math.round(v / 1_000)}K` : String(v)} + width={45} />