---
title: Chart settings
project: OpenReports
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openreports/1-0/guides/chart-settings/
updated: 2026-11-19T07:46:41.903Z
---

# Chart settings

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

**Enable chart view** in the report form turns the rows of a report into chart data: one point for each row, with a label (X axis) and a value (Y axis). Programs read this data through the API.

![The Chart settings of a report: X axis Product, Y axis Total with SUM, and an empty Series for](/files/JapUXL8ns60f.webp)

## Set up the chart

1. Edit the report and select **Enable chart view**.
2. In **X axis**, choose the field for the labels, for example **Product**.
3. In **Y axis**, choose the number field for the values, for example **Total SUM**.
4. Optionally, in **Series for**, choose a field to split the data into one series for each of its values, for example **Country**.
5. Select **SUBMIT**.

The axes offer the fields of the report, so add them to **Fields** first. A chart usually works best with a [grouped report](../group-and-total/): one bar per product, with the sum of its sales.

The card of the report shows the badge **chart**.

## Read the chart data

Load the report through the API with `"chart": true`. See [Chart data](../../reference/api-chart/).
