YearCountsToChartData

Function: yearCountsToChartData()

[object Object]

Defined in: routes/admin/statistics/statistics.handlers.tsx:104

Converts a per-year series into chart data, filling in missing years between the first and last year with zero so gaps are visible instead of silently skipped.

Parameters

counts

YearCountDto[] | null | undefined

Returns

ChartDatum[]

On this page