> For the complete documentation index, see [llms.txt](https://docs.wem.io/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wem.io/platform/wemtipsandtricks/widgets/advanced-charts/bubble-chart.md).

# 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.

{% hint style="info" %}
You can find a more in depth explanation about the bubble on [this](https://apexcharts.com/javascript-chart-demos/bubble-charts/) page: <https://apexcharts.com/javascript-chart-demos/bubble-charts/>
{% endhint %}

![Bubble Chart](/files/WX15kBtJHcK7ssWYagQ6)

**Properties of Bubble Chart**

<table><thead><tr><th width="186.7142857142857">Property Name</th><th width="150">Data Type</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td>Data source</td><td>List</td><td>Data Model</td><td>Data list source for the widget.</td></tr><tr><td>X axis type</td><td>Text</td><td>Drop Down</td><td>Determines the type of X axis used.</td></tr><tr><td>X axis category</td><td>Text</td><td>Expression</td><td>Categories displayed on x-axis.</td></tr><tr><td>X axis date</td><td>Date</td><td>Expression</td><td>Date values displayed on x-axis.</td></tr><tr><td>Y axis value</td><td>Number</td><td>Expression</td><td><p>Values displayed on y-axis.</p><p>These are expected to be numeric values.</p></td></tr><tr><td>Bubble size</td><td>Number</td><td>Expression</td><td><p>This field corresponds to the size of the bubble.</p><p>These are expected to be numeric values.</p></td></tr><tr><td>Series</td><td>Text</td><td>Expression</td><td><p>This field is used to create different series from the same data source.</p><p>It's not required.</p></td></tr><tr><td>Series color</td><td>Text</td><td>Expression</td><td><p>This field is used to set the color of the series. If empty a random color will be selected.</p><p>Hexadecimal Colors format Ex.: "#2E93fA"</p></td></tr><tr><td>Logarithmic scale</td><td>Boolean</td><td>Expression</td><td>Change scale to logarithmic scale.</td></tr><tr><td>Use opposite scale</td><td>Boolean</td><td>Expression</td><td>Changes position of y axis values to the opposite position.</td></tr><tr><td>Max scale value</td><td>Number</td><td>Expression</td><td>Maximum value for the scale.</td></tr><tr><td>Min scale value</td><td>Number</td><td>Expression</td><td>Minimum value for the scale.</td></tr><tr><td>Tick scale amount</td><td>Number</td><td>Expression</td><td>Number of visual ticks for the scale on the axis.</td></tr><tr><td>Show tooltip</td><td>Boolean</td><td>Expression</td><td>Show tooltip. Use true or false.</td></tr><tr><td>Label decimals</td><td>Number</td><td>Expression</td><td>Set number of decimals displayed for y-axis values.</td></tr><tr><td>Theme</td><td>Text</td><td>Dropdown</td><td>Change the text and background colors of the chart.</td></tr><tr><td>Background color</td><td>Text</td><td>Expression</td><td><p>Change the background color of the chart. It's important to set the opacity with the color to show the gridlines.</p><p>Example:</p><p>"#FFFFFF60"</p></td></tr><tr><td>Grid lines vertical</td><td>Boolean</td><td>Expression</td><td>Display vertical grid lines.</td></tr><tr><td>Grid lines horizontal</td><td>Boolean</td><td>Expression</td><td>Display horizontal lines on the grid.</td></tr><tr><td>Grid lines color</td><td>Text</td><td>Expression</td><td><p>Change color of the lines on the grid.</p><p>Example:</p><p>"#92a8d1" or "red" or "rgb(201, 76, 76)" or "rgba(201, 76, 76, 0.3)"</p></td></tr><tr><td>Legend font size</td><td>Number</td><td>Expression</td><td>Change font size of the legend.</td></tr><tr><td>Legend position</td><td>Text</td><td>Dropdown</td><td>Change position of the legend.</td></tr><tr><td>Fill type</td><td>Text</td><td>Dropdown</td><td>Change fill type of the chart.</td></tr><tr><td>Fill opacity</td><td>Number</td><td>Expression</td><td><p>Change the fill opacity of the chart.</p><p>From 0.00  to 1.00</p></td></tr><tr><td>Prefix</td><td>Text</td><td>Expression</td><td>Display a prefix for values on tooltip.</td></tr><tr><td>Postfix</td><td>Text</td><td>Expression</td><td>Display a postfix for values on tooltip.</td></tr><tr><td>ShowAnimation</td><td>Boolean</td><td>Expression</td><td>Display animation on render.</td></tr><tr><td>Height</td><td>Number</td><td>Expression</td><td><p>Set height of the chart.</p><p>Type number.</p></td></tr><tr><td>Width</td><td>Number</td><td>Expression</td><td><p>Set width of the chart.</p><p>Type number.</p></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wem.io/platform/wemtipsandtricks/widgets/advanced-charts/bubble-chart.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
