Recommend this page to a friend! |
Classes of Jorge Castro | Gentelella BladeOne | vendors/chart.js/docs/08-Bubble-Chart.md | Download |
|
Downloadtitle: Bubble Chart anchor: bubble-chartIntroductionA 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. <div class="canvas-holder">
</div> <br> Example Usage
Data StructureProperty | Type | Usage
--- | --- | ---
data | An example data object using these attributes is shown below. This example creates a single dataset with 2 different bubbles.
Data ObjectData for the bubble chart is passed in the form of an object. The object must implement the following interface. It is important to note that the radius property,
Chart OptionsThe bubble chart has no unique configuration options. To configure options common to all of the bubbles, the point element options are used. For example, to give all bubbles a 1px wide black border, the following options would be used.
We can also change the default values for the Bubble chart type. Doing so will give all bubble charts created after this point the new defaults. The default configuration for the bubble chart can be accessed at |