Bubble Chart
Bubble Chart are useful for showing data in a three-dimensional manner. In a bubble chart, data points are depicted with bubbles. It is drawn with a data series that each contains a set of three values. A bubble chart is a form of scatter chart that has its data points replaced with bubbles. In ApexCharts, each bubble representation can be analyzed for the information it defines. With its scattered nature, the bubble chart can be used to depict many data points within the 3-D plane. Unlike a scatter chart which has two reference axes (X-axis and Y-axis), a bubble chart has a third axis incorporated (Z-axis) with it and this third numeric field controls the size of the data bubbles.
You can find a more in depth explanation about the bubble on this page: https://apexcharts.com/javascript-chart-demos/bubble-charts/
Properties of Bubble Chart
Property Name | Data Type | Type | Description |
---|---|---|---|
Data source | List | Data Model | Data list source for the widget. |
X axis type | Text | Drop Down | Determines the type of X axis used. |
X axis category | Text | Expression | Categories displayed on x-axis. |
X axis date | Date | Expression | Date values displayed on x-axis. |
Y axis value | Number | Expression | Values displayed on y-axis. These are expected to be numeric values. |
Bubble size | Number | Expression | This field corresponds to the size of the bubble. These are expected to be numeric values. |
Series | Text | Expression | This field is used to create different series from the same data source. It's not required. |
Series color | Text | Expression | This field is used to set the color of the series. If empty a random color will be selected. Hexadecimal Colors format Ex.: "#2E93fA" |
Logarithmic scale | Boolean | Expression | Change scale to logarithmic scale. |
Use opposite scale | Boolean | Expression | Changes position of y axis values to the opposite position. |
Max scale value | Number | Expression | Maximum value for the scale. |
Min scale value | Number | Expression | Minimum value for the scale. |
Tick scale amount | Number | Expression | Number of visual ticks for the scale on the axis. |
Show tooltip | Boolean | Expression | Show tooltip. Use true or false. |
Label decimals | Number | Expression | Set number of decimals displayed for y-axis values. |
Theme | Text | Dropdown | Change the text and background colors of the chart. |
Background color | Text | Expression | Change the background color of the chart. It's important to set the opacity with the color to show the gridlines. Example: "#FFFFFF60" |
Grid lines vertical | Boolean | Expression | Display vertical grid lines. |
Grid lines horizontal | Boolean | Expression | Display horizontal lines on the grid. |
Grid lines color | Text | Expression | Change color of the lines on the grid. Example: "#92a8d1" or "red" or "rgb(201, 76, 76)" or "rgba(201, 76, 76, 0.3)" |
Legend font size | Number | Expression | Change font size of the legend. |
Legend position | Text | Dropdown | Change position of the legend. |
Fill type | Text | Dropdown | Change fill type of the chart. |
Fill opacity | Number | Expression | Change the fill opacity of the chart. From 0.00 to 1.00 |
Prefix | Text | Expression | Display a prefix for values on tooltip. |
Postfix | Text | Expression | Display a postfix for values on tooltip. |
ShowAnimation | Boolean | Expression | Display animation on render. |
Height | Number | Expression | Set height of the chart. Type number. |
Width | Number | Expression | Set width of the chart. Type number. |
Last updated