interface TopGenresChartProps {
    matchResults?: null | MinimalMatchResult[];
    className?: string;
    onDrillDown?: (data: DrillDownData) => void;
    filteredMatchResults?: NormalizedMatchForStats[];
    readingHistory?: ReadingHistory;
}

Properties

matchResults?: null | MinimalMatchResult[]

Array of match results used to calculate genre frequencies.

className?: string

Optional className override for the container.

onDrillDown?: (data: DrillDownData) => void

Callback for drill-down clicks on genre bars.

filteredMatchResults?: NormalizedMatchForStats[]

Full match results for drill-down data building.

readingHistory?: ReadingHistory

Reading history for drill-down data computation.