# 介面:BarOptions

# 繼承關係

# 屬性

# backgroundColor

backgroundColor: Color

# 繼承自

Omit.backgroundColor

# 定義於

types/index.d.ts:1807 (開啟新視窗)


# base

base: number

沿著數值軸的資料單位中,長條的基準值。

# 定義於

types/index.d.ts:2080 (開啟新視窗)


# borderColor

borderColor: Color

# 繼承自

Omit.borderColor

# 定義於

types/index.d.ts:1806 (開啟新視窗)


# borderRadius

borderRadius: number | BorderRadius

邊框圓角

預設值

0

# 定義於

types/index.d.ts:2092 (開啟新視窗)


# borderSkipped

borderSkipped: boolean | "end" | "start" | "left" | "top" | "bottom" | "right" | "middle"

跳過(排除)的邊框:'start'、'end'、'left'、'right'、'bottom'、'top'、'middle'、false(無)或 true(全部)。

預設值

'start'

# 定義於

types/index.d.ts:2086 (開啟新視窗)


# borderWidth

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

邊框寬度,數字表示所有邊,物件表示分別指定每邊的寬度

預設值

0

# 定義於

types/index.d.ts:2105 (開啟新視窗)


# inflateAmount

inflateAmount: number | "auto"

要擴大矩形的數量。這可以用來隱藏長條之間的偽影。單位為像素。「auto」在 barPercentage * categoryPercentage 為 1 時轉換為 0.33 像素,否則為 0。

預設值

'auto'

# 定義於

types/index.d.ts:2099 (開啟新視窗)