For AI agents: the complete documentation index is at llms.txt. Markdown versions are available by appending .md or sending Accept: text/markdown.
Reflex Logo
Docs Logo
Library

/

Graphing

/

Charts

/

Errorbar

Error Bar

An error bar is a graphical representation of the uncertainty or variability of a data point in a chart, depicted as a line extending from the data point parallel to one of the axes. The data_key, width, stroke_width, stroke, and direction props can be used to customize the appearance and behavior of the error bars, specifying the data source, dimensions, color, and orientation of the error bars.

Expand

API Reference

rx.recharts.ErrorBar

An ErrorBar component in Recharts.

Props

PropTypeDescription
direction
"x""y"

Only used for ScatterChart with error bars in two directions. Only accepts a value of "x" or "y" and makes the error bars lie in that direction.

data_key
Union[int, str]

The key of a group of data which should be unique in an area chart.

width
int

The width of the error bar ends.

stroke
Union[str, Color]

The stroke color of error bar.

stroke_width
Union[str, int, float]

The stroke width of error bar.

Built with Reflex