MAIDR JavaScript API
    Preparing search index...

    Interface NivoLayerInfo

    Intermediate representation of one Nivo layer before conversion to the MAIDR schema.

    interface NivoLayerInfo {
        id: string;
        data: NivoLayerData;
        xAxisLabel?: string;
        yAxisLabel?: string;
        xAxisFormat?: AxisFormat;
        yAxisFormat?: AxisFormat;
        orientation?: Orientation;
        name?: string;
        legend?: string[];
        marks: NivoMarks;
    }
    Index

    Properties

    id: string

    Index-based layer id.

    The payload.

    xAxisLabel?: string

    Label of the axis drawn across the page (Nivo's bottom or top axis).

    yAxisLabel?: string

    Label of the axis drawn up the page (Nivo's left or right axis).

    xAxisFormat?: AxisFormat

    How the across-the-page axis announces its values (a time scale's dates).

    yAxisFormat?: AxisFormat

    How the up-the-page axis announces its values (a time scale's dates).

    orientation?: Orientation

    Set when the magnitude runs across the page.

    name?: string

    Names the layer when a chart splits into several of the same type.

    legend?: string[]

    Legend labels, for multi-series layers.

    marks: NivoMarks

    How the layer's marks are found in the rendered SVG.