@moritzbrantner/charts - v0.1.1
    Preparing search index...

    Type Alias ChartCalendarHeatmapSvgProps<TProperties>

    type ChartCalendarHeatmapSvgProps<TProperties = Record<string, unknown>> = {
        ariaLabel?: string;
        className?: string;
        data:
            | ChartCalendarHeatmapData<TProperties>
            | ChartCalendarHeatmapDatum<TProperties>[];
        formatDate?: (date: Date) => string;
        formatValue?: (datum: ChartCalendarHeatmapDatum<TProperties>) => string;
        legend?: ReactNode | readonly ChartSvgLegendItem[];
        onDatumSelect?: (datum: ChartCalendarHeatmapDatum<TProperties>) => void;
        showMonthLabels?: boolean;
        showWeekdayLabels?: boolean;
    }

    Type Parameters

    • TProperties = Record<string, unknown>
    Index

    Properties

    ariaLabel?: string
    className?: string
    formatDate?: (date: Date) => string
    formatValue?: (datum: ChartCalendarHeatmapDatum<TProperties>) => string
    legend?: ReactNode | readonly ChartSvgLegendItem[]
    onDatumSelect?: (datum: ChartCalendarHeatmapDatum<TProperties>) => void
    showMonthLabels?: boolean
    showWeekdayLabels?: boolean