stream-charts
    Preparing search index...
    • A legend component that can be placed inside any <Chart> alongside any Plot. It automatically reads the series names from the initial data and their colors from the seriesStyles map (falling back to the chart's base color). The legend respects the active seriesFilter, showing only the matching series.

      Type Parameters

      Parameters

      Returns ReactElement<unknown, string | JSXElementConstructor<any>> | null

      <Chart ...>
      <ContinuousAxis ... />
      <ScatterPlot ... />
      <Legend visible={true} location={LegendLocation.TOP_RIGHT} />
      </Chart>