Interface: DoughnutControllerChartOptions

Properties

animation

animation: DoughnutAnimationOptions

Defined in

index.esm.d.ts:310DoughnutControllerChartOptions - 图1 (opens new window)


circumference

circumference: number

Sweep to allow arcs to cover.

default 360

Defined in

index.esm.d.ts:283DoughnutControllerChartOptions - 图2 (opens new window)


cutout

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

The portion of the chart that is cut out of the middle. (‘50%’ - for doughnut, 0 - for pie) String ending with ‘%’ means percentage, number means pixels.

default 50

Defined in

index.esm.d.ts:290DoughnutControllerChartOptions - 图3 (opens new window)


radius

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

The outer radius of the chart. String ending with ‘%’ means percentage of maximum radius, number means pixels.

default ‘100%’

Defined in

index.esm.d.ts:296DoughnutControllerChartOptions - 图4 (opens new window)


rotation

rotation: number

Starting angle to draw arcs from.

default 0

Defined in

index.esm.d.ts:302DoughnutControllerChartOptions - 图5 (opens new window)


spacing

spacing: number

Spacing between the arcs

default 0

Defined in

index.esm.d.ts:308DoughnutControllerChartOptions - 图6 (opens new window)