MAIDR JavaScript API
    Preparing search index...

    Interface RechartsLayerConfig

    A single data series/layer configuration for composed charts. Use this when a chart has multiple series of different types.

    interface RechartsLayerConfig {
        yKey: string;
        chartType: RechartsChartType;
        name?: string;
        stepDirection?: StepDirection;
    }
    Index

    Properties

    yKey: string

    Key in the data array for this series' y-values.

    Chart type for this series.

    name?: string

    Display name for this series (used in legends/descriptions).

    stepDirection?: StepDirection

    This series' step convention, when it is a step or an area drawn as one.

    Declared per layer because a composed chart is where one curve is a staircase and another is not; falls back to the chart-wide RechartsAdapterConfig.stepDirection when this layer says nothing.