diff --git a/ts/graphs/added.ts b/ts/graphs/added.ts index fc6cf828d..2ba17270e 100644 --- a/ts/graphs/added.ts +++ b/ts/graphs/added.ts @@ -102,7 +102,7 @@ export function buildHistogram( _percent: number, ): string { const day = dayLabel(bin.x0!, bin.x1!); - const cards = tr.statisticsCards({ cards: bin.length }); + const cards = tr.statisticsCards({ cards: getNumericMapBinValue(bin as any) }); const total = tr.statisticsRunningTotal(); const totalCards = tr.statisticsCards({ cards: cumulative }); return `${day}:
${cards}
${total}: ${totalCards}`;