> ## Documentation Index
> Fetch the complete documentation index at: https://docs.volubile.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a chart

> Add your own charts to the dashboard and organize the layout

## In a nutshell

A chart answers four questions: **which shape**, **which calculation**, **on which metric**, **grouped by what**. The editor asks them in that order and shows a preview at each choice.

> [!NOTE]
>
> Creating, editing and moving charts is reserved for the **Admin** and **Editor** roles. See [user roles](https://docs.volubile.ai/en/product/settings/users.md).

## Add a chart

**1. Open the dashboard**

Click **Add a chart** at the top of the page.

**2. Name the chart**

Give it a title in **Title**.

**3. Choose the visualization type**

Pie, bars, line or indicator.

**4. Choose the calculation**

Count, sum, average or rate.

**5. Choose the metric and the value**

What the chart counts: **Calls**, or a field, a category or a context variable, then one of its values or **All values**.

**6. Choose the grouping**

The analysis axis: by period, by agent, by category… An indicator has none.

**7. Save**

Check the preview, then click **Save**.

![Chart editor with the preview, title, visualization type, calculation and metric](https://mintcdn.com/weengage/SF3SsKv1vDLligkS/images/dashboard/volubile-dashboard-widget-editor.png?fit=max\&auto=format\&n=SF3SsKv1vDLligkS\&q=85\&s=3afe7501712be40786c55f7ad7f74ab8)

The preview uses the dashboard's agents, filters and period at the time you open the editor.

A dashboard contains at most 50 charts, standard charts included. Once the limit is reached, delete one to add another.

## Visualization type

| Type | To show | Possible groupings |
| - | - | - |
| **Indicator** | A key figure and its trend | None |
| **Pie** | The share of each value in a whole | Field, category, all categories, context variable |
| **Bars** | A comparison between values or a trend | Period, cycle, field, category, context variable |
| **Line** | A trend over time | Period |

## Calculation

| Calculation | Result | Example |
| - | - | - |
| **Count** | Number of conversations | Calls per day |
| **Sum** | Total of a measure | Total call duration per agent |
| **Average** | Average of a measure | Average duration per campaign |
| **Rate** | Share of conversations that carry a value, or distribution across the values of a metric | Share of transferred calls, week by week |

For a sum or an average, **Data** is the **duration** on the calls dashboard and the number of **interactions** on the conversations dashboard.

> [!NOTE]
>
> A pie chart adds up shares: it only accepts **Count** or **Sum**. **Average** and **Rate** are greyed out.

## Metric and value

**Metric** and **Value** only exist for **Count** and **Rate**.

| Metric | What is counted |
| - | - |
| **Calls** | All conversations. Offered for **Count** only, except for a pie chart |
| A **field** | Status, call type, and depending on the agent selection: agent, campaign |
| A **category** | The values of a [call category](https://docs.volubile.ai/en/product/calls/classifiers.md), or **All categories** for a pie chart |
| A **context variable** | The values of one of the agent's context variables |

**Agent** is only offered if several agents are selected, **Campaign** only if the period has campaign calls. Categories and context variables are only offered if **a single agent** is selected.

| Calculation | Value | Result |
| - | - | - |
| **Count** | One value | Number of conversations that carry this value |
| **Count** | **All values** | One series per value of the metric |
| **Rate** | One value | Share of **all** conversations of the period that carry this value |
| **Rate** | **All values** | For each period, the share of each value among the conversations that have a value for the metric. Stacked bars or lines, by period or by cycle |

* **Rate** requires a metric.
* An indicator requires a specific value: **All values** is not offered, and only metrics that have values (status, call type, category, variable) are available.
* A pie chart in **Count** splits across the values of the metric: it has neither **Value** nor **Group by**.
* **Agent** and **Campaign** only have **All values**.
* For **Status**, the values are those of the [Performance](https://docs.volubile.ai/en/product/dashboard.md#performance) table, without **Other statuses**. On the conversations dashboard: **Completed** and **In progress**.

How rates are calculated is detailed in [Read the figures](https://docs.volubile.ai/en/product/dashboard/reading.md#rates-and-shares).

## Grouping

**Group by** only appears when an axis is left to choose.

| Group by | Values |
| - | - |
| **By period** | Hour, day, week, month, or **Automatic period**, which chooses based on the displayed duration |
| **By cycle** | Hour of the day or day of the week, all weeks combined |
| **By field** | Agent, status, call type, campaign |
| **By category** | The values of a [call category](https://docs.volubile.ai/en/product/calls/classifiers.md), or **All categories** in a single pie chart |
| **By context variable** | The values of one of the agent's context variables |

With **All values**, the metric already provides the split: only **By period** and **By cycle** are offered.

> [!WARNING]
>
> Metrics and groupings by category and by context variable are only offered if **a single agent** is selected, for the same reason as the corresponding [filters](https://docs.volubile.ai/en/product/dashboard/filters.md#choose-the-agents).

A chart displays at most **10 values**. Beyond that, the remaining ones are combined into **Others**. Details are in [Read the figures](https://docs.volubile.ai/en/product/dashboard/reading.md#others).

## Organize the layout

Click **Edit layout**, at the top of the page, to enter edit mode. This button appears as soon as the dashboard contains at least one added chart, on a wide screen.

![Dashboard in edit mode, with the move, duplicate and delete actions on a chart](https://mintcdn.com/weengage/SF3SsKv1vDLligkS/images/dashboard/volubile-dashboard-edit-layout.png?fit=max\&auto=format\&n=SF3SsKv1vDLligkS\&q=85\&s=adafdab0c3962df006e42268ddfde649)

| Action | Effect |
| - | - |
| **Move** | Drag the chart to its new position |
| **Edit** | Reopens the editor with the chart's settings |
| **Duplicate** | Creates a copy, to adjust afterwards |
| **Delete** | Removes the chart from the dashboard, after confirmation |

To resize a chart, drag its right edge, its bottom edge or its bottom-right corner. The minimum and maximum size depend on the visualization type.

Changes, including a chart you added or edited, are only applied when you save the layout. **Save** applies them, **Cancel** discards them. **Save** stays greyed out until something has changed. Outside edit mode, a new chart is saved as soon as you confirm the editor.

> [!NOTE]
>
> In edit mode, standard charts carry a lock, with the label **Standard widget — cannot be changed** on hover: they cannot be moved, edited or deleted.

The layout is shared: all users of the account see the same charts, in the same order.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.