MAIDR JavaScript API
    Preparing search index...
    • What the console says when a ridgeline's ridges cannot each be highlighted on their own <Area>, or undefined when they can.

      Without an <Area> that names its group, each ridge is highlighted on the <Area> declared at its group's first appearance in data: another ridge's band, with nothing to show it, when they are declared in another order. Said instead of left silent. A selectorOverride names the bands itself, so nothing is said for one.

      Read for a chart that is one ridgeline, as MaidrRecharts and useRechartsAdapter build it; never throws, so a config the conversion refuses is left for the conversion to say so.

      Parameters

      • config: Pick<
            RechartsAdapterConfig,
            | "id"
            | "chartType"
            | "data"
            | "ridgelineConfig"
            | "selectorOverride"
            | "subplots"
            | "layers",
        >

        The chart's config, with the <Area>s read off it if any

      Returns string | undefined

      The warning, or undefined