diff --git a/frontend/src/components/StatsPanel.tsx b/frontend/src/components/StatsPanel.tsx index 9048e7a..89e88dc 100644 --- a/frontend/src/components/StatsPanel.tsx +++ b/frontend/src/components/StatsPanel.tsx @@ -115,7 +115,7 @@ function HBars({ data, max, empty, share, labelWidth = 'w-20' }: { data: Bucket[ // Sorting bands by COUNT would destroy the band-plan reading; the order is the // information. -function VBars({ data, empty, height = 150 }: { data: Bucket[]; empty: string; height?: number }) { +function VBars({ data, empty, height = 150, showValues, colorful }: { data: Bucket[]; empty: string; height?: number; showValues?: boolean; colorful?: boolean }) { const peak = Math.max(1, ...data.map((d) => d.count)); if (data.length === 0) return
{empty}
; // Thin the x labels once the bars get narrow. A label under EVERY one of 48 @@ -129,12 +129,13 @@ function VBars({ data, empty, height = 150 }: { data: Bucket[]; empty: string; h {data.map((d, i) => (