Bubble Chart
A bubble chart is used to display three dimensions of data at the same time. The location of the bubble is determined by the first two dimensions and the corresponding horizontal and vertical axes. The third dimension is represented by the size of the individual bubbles.
Common Dataset Options¶
These options are common to all datasets.
BackgroundColor¶
The line fill color.
BorderColor¶
The line color.
BorderWidth¶
The line width (in pixels).
Clip¶
How to clip relative to chartArea. Positive value allows overflow, negative value clips that many pixels inside chartArea. 0 = clip at chartArea.
Is clip enabled? Clipping can also be configured per side: clip: {left: 5, top: false, right: -2, bottom: 0}Hidden¶
Configure the visibility of the dataset. Using hidden: true will hide the dataset from being rendered in the Chart.
HoverBackgroundColor¶
Background color when hovered.
HoverBorderColor¶
Border color when hovered.
HoverBorderWidth¶
The line width (in pixels) when hovered.
Label¶
The label for the dataset which appears in the legend and tooltips.
Parsing¶
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.
Parsing with key. Parsing with x and y axis keys.Bubble Dataset Options¶
Bubble chart specific dataset options.
DrawActiveElementsOnTop¶
Draw the active bubbles of a dataset over the other bubbles of the dataset. Default true
HoverRadius¶
bubble additional radius when hovered (in pixels). Default 4
HitRadius¶
bubble additional radius for hit detection (in pixels). Default 1
Order¶
The drawing order of dataset. Also affects order for tooltip and legend. Default 0
PointStyle¶
Is style of the point enabled? Default 'circle'
Rotation¶
bubble rotation (in degrees). Default 0
Radius¶
bubble radius (in pixels). Default 3