Spanish Total.js
English
Documentation For AI agents
Contents

Chart settings

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

.md GitHub
On this page

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

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: 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.

Made in Europe