> 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/nedyx/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.

![](/files/4InoJX88CYE42lLpOhrE)

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.

<figure><img src="/files/7R9RIBDxVCB1xmgfxPpG" 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.

<figure><img src="/files/Mo85cRNvSaanoiFRpdXg" 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.

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