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.
Data point for step charts — structurally a LinePoint.
The ordinal
labelthat 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 onLinePointand every trace in the line family reads it.The name is kept because a step layer's
datais authored asStepPoint[][], and it says which chart the points belong to.