---
title: Diagrammdaten
project: Dashboard
version: 1.0
section: guides
language: de
translation: missing
license: Total.js Enterprise
url: https://totaljs.es/docs/de/dashboard/1-0/guides/chart-data/
updated: 2026-11-20T06:40:32.732Z
---

# Diagrammdaten

> Turn a report into chart data with an X axis, a Y axis, series, decimals and a format.

Widgets show the chart data of reports. A report has chart data when **Enable chart view** is selected in its form. Only these reports appear when you choose the dataset of a widget.

![The Chart settings of a report: X axis Date, Y axis Amount SUM, Decimals 2 and Format {0} EUR](/files/Jaswx83s861f.webp)

## Set up the chart data

1. In **Reports**, select the gear icon of the report, then **Edit**.
2. Select **Enable chart view**. The section **Chart settings** appears.
3. Fill in the settings below, then select **SUBMIT**.

| Setting | What it does |
|---|---|
| **X axis** | The field for the labels, for example the date or the region. Required. |
| **Y axis** | The number field for the values, for example **Amount SUM**. Required. |
| **Series for** | Optional. Splits the data into one series for each value of this field, for example one line for each product. |
| **Decimals** | The number of decimals of the values. |
| **Format** | How a value is written. `{0}` stands for the number, so `{0} EUR` shows `61 627 EUR`. Required. |

The axes offer the fields of the report, so add them to **Fields** first.

## Tips

- One row of the report is one point of the chart. A grouped report usually works best: one row for each region, with the sum of its sales. See [Group and total](/openreports/1-0/guides/group-and-total/).
- The order of the rows is the order of the points. Sort by the date to draw a line from the oldest to the newest month.
- Widgets that show one value, such as **Last value**, start with the first row. Sort the report newest first to show the latest value first.
- To check the data, select the gear icon of the report and then **Browse data**.
