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

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

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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/version-1.66/nedyx/working-with-nedyx/widgets/chart-content.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
