> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.52-preview/working-with-nedyx/widgets/chart-content.md).

# Chart content

The content of a chart widget must be provided in a specific format. By default, the first column of the data contains the x-axis lables, and the other columns contain the single datasets of the values.

In this example, the chart retrieves its content directly from a table widget. But the content can as well be defined with any formula returning a range of data.&#x20;

![](/files/sHsC91BRxnE22XYr6KaI)

In many cases, datasets are available in a horizontal orientation. Here the option *Data in rows* can be used to define that the underlying data is oriented in rows instead of columns.&#x20;

<figure><img src="/files/FdOSPgNQxcdUYaashjJi" alt=""><figcaption><p>"Data in Rows" switched on, if the datasets are aligned in rows. </p></figcaption></figure>

If the first row contains the names of the dataset, the option "Dataset names in first row" must be switched on. Then the dataset name is displayed in the tooltip.&#x20;

<figure><img src="/files/q1lq1azedzwj92clwqSy" alt=""><figcaption></figcaption></figure>

If the first column contains the names of the dataset, the option "Dataset names in first column" must be switched on.&#x20;

<figure><img src="/files/gXSDaIrhlIs7zAFlaC9Z" alt=""><figcaption></figcaption></figure>
