MAIDR Documentation - v4.4.0
    Preparing search index...
    • 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.

      Parameters

      • children: ReactNode

        The chart subtree this component was given

      Returns StepDirection | undefined

      The convention, or undefined when nothing in the tree names one