HorizontalBarSeries

Horizontal bars.

import { HorizontalBarSeries } from "@reincharts/series";

Horizontal bars. Datum i is drawn in category band i of a category price scale, so use it with <ChartCanvas xMode="linear"> and <Pane scales={{ right: { categories: data.map((d) => d.label) } }}>. Hovering a band selects its datum; the x axis autoscale includes the bars.

Props

Prop

Type

See also

On this page