# Interface: BarOptions

# Hierarchy

# Properties

# backgroundColor

backgroundColor: Color

# Inherited from


# Defined in

index.esm.d.ts:1654 (opens new window)

# base

base: number

The base value for the bar in data units along the value axis.

# Defined in

index.esm.d.ts:1926 (opens new window)

# borderColor

borderColor: Color

# Inherited from


# Defined in

index.esm.d.ts:1653 (opens new window)

# borderRadius

borderRadius: number | BorderRadius

Border radius

default 0

# Defined in

index.esm.d.ts:1938 (opens new window)

# borderSkipped

borderSkipped: false | "start" | "end" | "left" | "right" | "bottom" | "top"

Skipped (excluded) border: 'start', 'end', 'left', 'right', 'bottom', 'top' or false (none).

default 'start'

# Defined in

index.esm.d.ts:1932 (opens new window)

# borderWidth

borderWidth: number | { bottom?: number ; left?: number ; right?: number ; top?: number }

Width of the border, number for all sides, object to specify width for each side specifically

default 0

# Defined in

index.esm.d.ts:1951 (opens new window)

# inflateAmount

inflateAmount: number | "auto"

Amount to inflate the rectangle(s). This can be used to hide artifacts between bars. Unit is pixels. 'auto' translates to 0.33 pixels when barPercentage * categoryPercentage is 1, else 0.

default 'auto'

# Defined in

index.esm.d.ts:1945 (opens new window)