Interface: PolarAreaControllerDatasetOptions

    • PolarAreaControllerDatasetOptions

    Properties

    angle: number

    Arc angle to cover. - for polar only

    circumference / (arc count)

    Defined in:


    animation

    animation: false | <"doughnut"> & { onComplete?: (event: AnimationEvent) => void ; onProgress?: (event: ) => void }

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:1533PolarAreaControllerDatasetOptions - 图2 (opens new window)


    animations

    animations: AnimationsSpec<"doughnut">

    Inherited from: .animations

    Defined in:


    backgroundColor

    backgroundColor: <Color, <"doughnut">>

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:1588PolarAreaControllerDatasetOptions - 图4 (opens new window)


    borderAlign

    borderAlign: ScriptableAndArray<"center" | , <"doughnut">>

    Arc stroke alignment.

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:1624 (opens new window)


    borderColor

    borderColor: ScriptableAndArray<, ScriptableContext<"doughnut">>

    Inherited from: .borderColor

    Defined in:


    borderRadius

    borderRadius: <number | ArcBorderRadius, <"doughnut">>

    Sets the border radius for arcs

    default 0

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:1633 (opens new window)


    borderWidth

    borderWidth: ScriptableAndArray<number, <"doughnut">>

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:1586PolarAreaControllerDatasetOptions - 图8 (opens new window)


    circumference: number

    Sweep to allow arcs to cover.

    Inherited from: .circumference

    Defined in:


    clip

    clip: number |

    How to clip relative to chartArea. Positive value allows overflow, negative value clips that many pixels inside chartArea. 0 = clip at chartArea. Clipping can also be configured per side: clip: {left: 5, top: false, right: -2, bottom: 0}

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:64PolarAreaControllerDatasetOptions - 图10 (opens new window)


    hidden

    hidden: boolean

    Configures the visibility state of the dataset. Set it to true, to hide the dataset from the chart.

    default false

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:82 (opens new window)


    hoverBackgroundColor

    hoverBackgroundColor: ScriptableAndArray<, ScriptableContext<"doughnut">>

    Inherited from: .hoverBackgroundColor

    Defined in:


    hoverBorderColor

    hoverBorderColor: <Color, <"doughnut">>

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:1593 (opens new window)


    hoverBorderWidth

    hoverBorderWidth: ScriptableAndArray<number, <>>

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:1592PolarAreaControllerDatasetOptions - 图14 (opens new window)


    hoverOffset

    hoverOffset: ScriptableAndArray<number, <"doughnut">>

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:1637 (opens new window)


    indexAxis

    indexAxis: "x" | "y"

    The base axis of the chart. ‘x’ for vertical charts and ‘y’ for horizontal charts.

    default ‘x’

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:60PolarAreaControllerDatasetOptions - 图16 (opens new window)


    label: string

    The label for the dataset which appears in the legend and tooltips.

    Inherited from: .label


    normalized

    normalized: boolean

    Chart.js is fastest if you provide data with indices that are unique, sorted, and consistent across datasets and provide the normalized: true option to let Chart.js know that you have done so.

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:52 (opens new window)


    offset

    offset: ScriptableAndArray<number, <"doughnut">>

    Arc offset (in pixels).

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:1628PolarAreaControllerDatasetOptions - 图19 (opens new window)


    order

    order: number

    The drawing order of dataset. Also affects order for stacking, tooltip and legend.

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:72 (opens new window)


    parsing

    parsing: false | { [key: string]: string; }

    How to parse the dataset. The parsing can be disabled by specifying parsing: false at chart options or dataset. If parsing is disabled, data must be sorted and in the formats the associated chart type and scales use internally.

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:43PolarAreaControllerDatasetOptions - 图21 (opens new window)


    rotation

    rotation: number

    Starting angle to draw this dataset from.

    default 0

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:248 (opens new window)


    stack

    stack: string

    The ID of the group to which this dataset belongs to (when stacked, each group will be a separate stack).

    Inherited from: DoughnutControllerDatasetOptions.

    Defined in: index.esm.d.ts:77PolarAreaControllerDatasetOptions - 图23 (opens new window)


    transitions

    transitions: TransitionsSpec<"doughnut">

    Inherited from: .transitions

    Defined in:


    weight: number

    The relative thickness of the dataset. Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values.

    default 1

    Defined in: index.esm.d.ts:254PolarAreaControllerDatasetOptions - 图25 (opens new window)