Interface: BarOptions

    • BarOptions

    Properties

    backgroundColor:

    Inherited from

    Omit.backgroundColor

    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


    borderColor: Color

    Inherited from

    Defined in


    borderRadius

    borderRadius: number |

    Border radius

    default 0

    Defined in


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

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

    default ‘start’

    Defined in


    borderWidth

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

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

    default 0

    Defined in


    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