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

    Type Alias StepPoint

    StepPoint: LinePoint

    Data point for step charts — structurally a LinePoint.

    The ordinal label that lets a hypnogram announce "REM" instead of "3" started here, but it is not a step-only pairing: a line or path over the same ordinal y needs it just as much, so it now lives on LinePoint and every trace in the line family reads it.

    The name is kept because a step layer's data is authored as StepPoint[][], and it says which chart the points belong to.

    { x: 1.5, y: 3, label: 'REM' }