Which way the risers of the chart's step curve go, when it draws one.
<Line type="stepAfter"> is how Recharts states it, and it lives in the
chart subtree MaidrRecharts renders but never used to read -- so a
staircase declared as a step announced no direction, having no way to say
one (#1059).
Depth-first for the same reason the axis walk is -- a curve is commonly
nested inside a <ResponsiveContainer> or behind a fragment -- and stops at
the first curve that names a convention. A chart drawing two curves with
different conventions is a composed chart, where each layer declares its own
and this is not consulted. Anything it cannot find or cannot read answers
undefined, which is the same thing a centred type="step" answers: a step
whose direction goes unannounced rather than one claimed on a guess.
Which way the risers of the chart's step curve go, when it draws one.
<Line type="stepAfter">is how Recharts states it, and it lives in the chart subtree MaidrRecharts renders but never used to read -- so a staircase declared as a step announced no direction, having no way to say one (#1059).Depth-first for the same reason the axis walk is -- a curve is commonly nested inside a
<ResponsiveContainer>or behind a fragment -- and stops at the first curve that names a convention. A chart drawing two curves with different conventions is a composed chart, where each layer declares its own and this is not consulted. Anything it cannot find or cannot read answersundefined, which is the same thing a centredtype="step"answers: a step whose direction goes unannounced rather than one claimed on a guess.