# 介面:DoughnutControllerChartOptions

# 屬性

# animation

animation: false | DoughnutAnimationOptions

# 定義於

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


# circumference

circumference: number

允許弧線覆蓋的掃過角度。

預設值

360

# 定義於

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


# cutout

cutout: Scriptable<string | number, ScriptableContext<"doughnut">>

圖表中從中間切除的部分。('50%' - 用於甜甜圈圖,0 - 用於圓餅圖)以 '%' 結尾的字串表示百分比,數字表示像素。

預設值

50

# 定義於

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


# offset

offset: number | number[]

弧線偏移量(以像素為單位)。

# 定義於

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


# radius

radius: Scriptable<string | number, ScriptableContext<"doughnut">>

圖表的外半徑。以 '%' 結尾的字串表示最大半徑的百分比,數字表示像素。

預設值

'100%'

# 定義於

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


# rotation

rotation: number

開始繪製弧線的起始角度。

預設值

0

# 定義於

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


# spacing

spacing: number

弧線之間的間距

預設值

0

# 定義於

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