# Data Series

## Description

Compile a list of data, similar to a column in a spreadsheet as a single item

{% tabs %}
{% tab title="Preview" %}
![](https://97674526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQQ5Dv56AckPkeQ6O9Rf%2Fuploads%2FuonyOZM5ySS0X8BYPwLO%2FUi-DataSeries.png?alt=media\&token=7756237f-55ae-47ce-97fe-9ec40ec70953)
{% endtab %}

{% tab title="Location" %}
**Name** | Ui Data Series

**Nickname** | Data Series

**Tab** | Ui

**Panel** | Chart

**Division** | 1
{% endtab %}

{% tab title="Inputs" %}
**L** | **Label** (*Text*) | The collection label. (Try to make this value unique)

**D** | **Data** (*Generic Data*) | The list of data associated with each element

**T** | **Type** (*Integer*) | The datatype of the data
{% endtab %}

{% tab title="Ouputs" %}
**Ds** | **Data Series** (*Ui+ Data Series*) | A compiled Ui Data Series object
{% endtab %}

{% tab title="Mode" %}
*none*
{% endtab %}
{% endtabs %}

## Usage

The **Data Type** can be set for each **Data Series**.&#x20;

![Data Types](https://97674526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQQ5Dv56AckPkeQ6O9Rf%2Fuploads%2F3kZx8SOEEizw0XEewBvy%2Fimage.png?alt=media\&token=dab5bdcb-534a-41f2-b006-0b9a280e519b)

Most charts require a specific data type

<table><thead><tr><th width="166.5">Chart Type</th><th>Data Types</th></tr></thead><tbody><tr><td>Grid Chart</td><td>Text, Integer, Number, Point, Domain</td></tr><tr><td>Table Chart</td><td>Text, Integer, Number, Point, Domain</td></tr><tr><td>Area Chart</td><td>Integer, Number</td></tr><tr><td>Bar Chart</td><td>Integer, Number</td></tr><tr><td>Donut Chart</td><td>Integer, Number</td></tr><tr><td>Gantt Chart</td><td>Domain</td></tr><tr><td>Heat Chart</td><td>Integer, Number</td></tr><tr><td>Line Chart</td><td>Integer, Number</td></tr><tr><td>Scatter Chart</td><td>Point</td></tr><tr><td>Step Line Chart</td><td>Integer, Number</td></tr></tbody></table>


---

# 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://interopxyz.gitbook.io/ui-plus/components/chart/data-series.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.
