# Donut

With the "Donut" module, you can embed donut charts in a widget.

Donut charts are great for seeing at a glance what percentage of a total consumption is used by individual consumers.

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FOceRT5rKdsQCNw8uHPqF%2F65B0DBF0-6FDD-4E3D-86EB-5368A8D9D773.png?alt=media&#x26;token=1f1b3e24-c72d-402e-885d-293924937e2a" alt=""><figcaption></figcaption></figure>

<table data-full-width="true"><thead><tr><th width="80.33333333333331"></th><th width="128.5999755859375"></th><th></th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Description</td><td>This text is displayed when the custom widget is later connected to assets</td></tr><tr><td><strong>[B]</strong></td><td>Text</td><td>Free text</td></tr><tr><td><strong>[C]</strong></td><td>Total</td><td><ul><li>With: Displays a legend</li><li>Without: Does not display a legend</li></ul></td></tr><tr><td><strong>[E]</strong></td><td>Legend</td><td><ul><li>Values: Displays the values in the legend as a value</li><li>Without: Displays the values in the legend as a percentage</li></ul></td></tr></tbody></table>

{% hint style="info" %}
You can find out how this module is used in practice[ ->here](/collection/platform/live-cockpit/widgets/predefined-widgets/donut.md)
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.buildings.ability.abb/collection/platform/live-cockpit/widgets/custom-widgets/modules/donut.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
