MAIDR JavaScript API
    Preparing search index...
    • The series of a line-family chart that draw their dots, by dataKey, in the order the chart draws them.

      Recharts writes nothing on a series' dots that says which series they belong to, so a chart of several series names each series' dots by their place among the series that draw dots (seriesDotSelectors). A series drawn without dots -- dot={false}, an <Area> or <Radar> left at its default, or hide -- has no place, and leaving it out keeps every series after it at its own. A series whose dataKey is not a string still draws its dots, so it holds its place as null.

      Depth-first in the order the elements are written, which is the order Recharts draws the series in, and every series is collected rather than the first. Anything that is not a series element of the chart type is walked through, as the other walks do.

      Parameters

      • children: ReactNode

        The chart subtree this component was given

      • chartType: RechartsChartType | undefined

        The chart type, which decides the series component

      Returns (string | null)[] | undefined

      The series that draw dots, or undefined for a type that draws none