# Interface: DoughnutControllerChartOptions

# Properties

# animation

• animation: false | DoughnutAnimationOptions

# Defined in

types/index.d.ts:358 (opens new window)


# circumference

• circumference: number

Sweep to allow arcs to cover.

Default

360

# Defined in

types/index.d.ts:317 (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

types/index.d.ts:324 (opens new window)


# offset

• offset: number | number[]

Arc offset (in pixels).

# Defined in

types/index.d.ts:329 (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

types/index.d.ts:335 (opens new window)


# rotation

• rotation: number

Starting angle to draw arcs from.

Default

0

# Defined in

types/index.d.ts:341 (opens new window)


# spacing

• spacing: number

Spacing between the arcs

Default

0

# Defined in

types/index.d.ts:347 (opens new window)


# spacingMode

• spacingMode: ArcSpacingMode

Geometry used to apply arc spacing.

  • proportional: legacy behavior (default for polarArea).
  • angular: constant angular trim (default for doughnut/pie).
  • parallel: separate inner/outer trims for constant-width separators (best for small-moderate spacings).

Default

'angular'

# Defined in

types/index.d.ts:356 (opens new window)