ChartErrorBarCapProps

Configuration options for customizing the caps at the ends of error bars in a chart series.

Props

The following table outlines the props for the ChartErrorBarCapProps:

NameTypeDefaultDescription
color
string
""

Specifies the stroke color of the cap. Accepts hex, rgba, or any valid CSS color string.

length
number
10

Specifies the length of the caps on the error bars, measured in pixels.

opacity
number
1

Specifies the opacity of the error bar caps. Accepts a value between 0 (fully transparent) and 1 (fully opaque).

width
number
1

Specifies the width of the error bar cap in pixels.