MAIDR Documentation - v4.4.0
    Preparing search index...

    Type Alias StepDirection

    StepDirection: "hv" | "vh" | "mid"

    Where a step chart jumps between two consecutive samples.

    • hv — hold y[i] until x[i+1], then jump (matplotlib steps-post).
    • vh — jump at x[i], then hold until x[i+1] (matplotlib steps-pre).
    • mid — jump at the midpoint of the two x values (matplotlib steps-mid).

    hv is what ggplot2::geom_step() draws by default, but MAIDR substitutes no default of its own: see MaidrLayer.stepDirection.