MAIDR JavaScript API
    Preparing search index...

    Interface NivoAdapterConfig

    Configuration accepted by the useNivoAdapter hook and the pure nivoToMaidr converter.

    interface NivoAdapterConfig {
        id: string;
        title?: string;
        subtitle?: string;
        caption?: string;
        type: NivoChartType;
        props: Readonly<Record<string, unknown>>;
    }
    Index

    Properties

    id: string

    Unique identifier for the chart. Used for DOM element IDs.

    title?: string

    Chart title displayed in text descriptions.

    subtitle?: string

    Chart subtitle.

    caption?: string

    Chart caption.

    Which Nivo chart props belong to.

    props: Readonly<Record<string, unknown>>

    The props the Nivo chart is rendered with — data, keys, indexBy, layout, the axis objects, and so on. Read, never mutated.