Interface: BubbleControllerDatasetOptions

Hierarchy

Properties

backgroundColor

backgroundColor: ScriptableAndArray<Color, ScriptableContext<bubble>>

Inherited from: ScriptableAndArrayOptions.backgroundColor

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


borderColor

borderColor: ScriptableAndArray<Color, ScriptableContext<bubble>>

Inherited from: ScriptableAndArrayOptions.borderColor

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


borderWidth

borderWidth: ScriptableAndArray<number, ScriptableContext<bubble>>

Inherited from: ScriptableAndArrayOptions.borderWidth

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


clip

clip: number | ChartArea

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: ControllerDatasetOptions.clip

Defined in: index.esm.d.ts:64BubbleControllerDatasetOptions - 图4 (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: ControllerDatasetOptions.hidden

Defined in: index.esm.d.ts:82BubbleControllerDatasetOptions - 图5 (opens new window)


hitRadius

hitRadius: ScriptableAndArray<number, ScriptableContext<bubble>>

Extra radius added to point radius for hit detection.

default 1

Inherited from: ScriptableAndArrayOptions.hitRadius

Defined in: index.esm.d.ts:1758BubbleControllerDatasetOptions - 图6 (opens new window)


hoverBackgroundColor

hoverBackgroundColor: ScriptableAndArray<Color, ScriptableContext<bubble>>

Inherited from: ScriptableAndArrayOptions.hoverBackgroundColor

Defined in: index.esm.d.ts:1594BubbleControllerDatasetOptions - 图7 (opens new window)


hoverBorderColor

hoverBorderColor: ScriptableAndArray<Color, ScriptableContext<bubble>>

Inherited from: ScriptableAndArrayOptions.hoverBorderColor

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


hoverBorderWidth

hoverBorderWidth: ScriptableAndArray<number, ScriptableContext<bubble>>

Inherited from: ScriptableAndArrayOptions.hoverBorderWidth

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


hoverRadius

hoverRadius: ScriptableAndArray<number, ScriptableContext<bubble>>

Point radius when hovered.

default 4

Inherited from: ScriptableAndArrayOptions.hoverRadius

Defined in: index.esm.d.ts:1776BubbleControllerDatasetOptions - 图10 (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: ControllerDatasetOptions.indexAxis

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


label

label: string

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

Inherited from: ControllerDatasetOptions.label

Defined in: index.esm.d.ts:68BubbleControllerDatasetOptions - 图12 (opens new window)


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: ControllerDatasetOptions.normalized

Defined in: index.esm.d.ts:52BubbleControllerDatasetOptions - 图13 (opens new window)


order

order: number

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

Inherited from: ControllerDatasetOptions.order

Defined in: index.esm.d.ts:72BubbleControllerDatasetOptions - 图14 (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: ControllerDatasetOptions.parsing

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


pointStyle

pointStyle: ScriptableAndArray<PointStyle, ScriptableContext<bubble>>

Point style

default ‘circle;

Inherited from: ScriptableAndArrayOptions.pointStyle

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


radius

radius: ScriptableAndArray<number, ScriptableContext<bubble>>

Point radius

default 3

Inherited from: ScriptableAndArrayOptions.radius

Defined in: index.esm.d.ts:1753BubbleControllerDatasetOptions - 图17 (opens new window)


rotation

rotation: ScriptableAndArray<number, ScriptableContext<bubble>>

Point rotation (in degrees).

default 0

Inherited from: ScriptableAndArrayOptions.rotation

Defined in: index.esm.d.ts:1768BubbleControllerDatasetOptions - 图18 (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: ControllerDatasetOptions.stack

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