MAIDR JavaScript API
    Preparing search index...
    • Infers what a series draws from the path cache uPlot left on it.

      uPlot's builders each return a path object whose flags say how a band fill is clipped against it, and they differ in exactly the way needed: uPlot.paths.bars leaves 0, uPlot.paths.points leaves 3, and the linear, stepped and spline builders leave 1. A series whose paths returns nothing -- the documented way to draw points only -- leaves null.

      The cache exists only once the series has been drawn, so a series that is hidden, or a chart that has not drawn yet, reads as a line: the default a uPlot series is drawn as.

      Parameters

      Returns UPlotSeriesKind

      The inferred kind