# Diagrams

Diagrams are charts which are based on the data available in the report. Beware that even if a graph is placed in a band, the data used in that graph is taken from the whole report. Normally a diagram is positioned in bands that are only output once - otherwise diagrams are displayed multiple times.

To create a diagram, add a chart to your layout and click on 'Run Designer'.

<figure><img src="/files/KiDmcbqUPfGBh4NFZHNg" alt=""><figcaption><p>How to navigate to Run Designer of Diagrams</p></figcaption></figure>

Here, you can define via series, arguments and properties how the chart should look like.&#x20;

<figure><img src="/files/1SHdJIT6HSSqkrxd1OCV" alt=""><figcaption><p>Run Designer view</p></figcaption></figure>

* The link between data and diagrams is made via series
* Every series contains a grouping argument (x-axis) and a value (y-axis) which is usually calculated using an aggregation function (sum, count, average, etc.)
* For the use of 2D diagrams, series can be added individually

{% hint style="info" %}
To configure the 'Text Pattern' fields please use the following expressions:&#x20;

* {A} for the value from the selected field&#x20;
* {V} Absolute number, for counting the number of times the value occurs.
* {VP:0%} Percentage (expandable with .0 for more decimal places)
  {% 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.aqua-cloud.io/documentation/reporting/diagrams.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.
