# Binding to Series

The Chart visualizes data through one or more series. Each series transforms your data into visual elements like bars, lines, or points. Bind data to Chart series through the [`data`](https://www.telerik.com/kendo-angular-ui/components/charts/api/seriesitemcomponent#data) input or the [`series`](https://www.telerik.com/kendo-angular-ui/components/charts/api/chartcomponent#series) configuration. The Chart accepts number arrays for simple values, object arrays for structured data, and observables for HTTP requests.

## Binding Data to Series

Pass data directly to the series `data` input. For number arrays, the Chart uses the values directly. For object arrays, use the `field` property to map to the value.

```html
<kendo-chart>
  <kendo-chart-series>
    
    <kendo-chart-series-item [data]="[120, 200, 150, 80, 70]"></kendo-chart-series-item>
    
    
    <kendo-chart-series-item [data]="data" field="sales"></kendo-chart-series-item>
  </kendo-chart-series>
</kendo-chart>
```

```ts
public data = [
  { month: 'Jan', sales: 120 },
  { month: 'Feb', sales: 200 },
  { month: 'Mar', sales: 150 }
];
```

The following example shows different data formats working together in a single chart.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/charts/chart/data-binding/multi-pattern/source.txt)

The Chart accepts different data formats depending on your needs:

| Format            | Example                          | When to use               |
| ----------------- | -------------------------------- | ------------------------- |
| **Number array**  | `[20, 40, 35, 50]`               | Simple numeric values     |
| **Nested arrays** | `[[1, 20], [2, 40]]`             | Value pairs for XY charts |
| **Object array**  | `[{ month: 'Jan', sales: 120 }]` | Structured business data  |
| **Observable**    | `data$ \| async`                 | HTTP requests or streams  |

Different Chart types use different properties to map data fields. Categorical Charts use [`field`](https://www.telerik.com/kendo-angular-ui/components/charts/api/seriesitemcomponent#field) and [`categoryField`](https://www.telerik.com/kendo-angular-ui/components/charts/api/seriesitemcomponent#categoryField), while XY Charts like Scatter and Bubble use [`xField`](https://www.telerik.com/kendo-angular-ui/components/charts/api/seriesitemcomponent#xField), [`yField`](https://www.telerik.com/kendo-angular-ui/components/charts/api/seriesitemcomponent#yField), and [`sizeField`](https://www.telerik.com/kendo-angular-ui/components/charts/api/seriesitemcomponent#sizeField). For complete field requirements and binding examples, see the data binding documentation for [Line](https://www.telerik.com/kendo-angular-ui/components/charts/series-types/line#binding-to-data), [Scatter](https://www.telerik.com/kendo-angular-ui/components/charts/series-types/scatter#binding-to-data), [Bubble](https://www.telerik.com/kendo-angular-ui/components/charts/series-types/bubble#binding-to-data), and other [series types](https://www.telerik.com/kendo-angular-ui/components/charts/series-types).

> When you bind the Chart to dates, the category axis provides special behavior for time series. For more information, see [Displaying Time Series](https://www.telerik.com/kendo-angular-ui/components/charts/elements/axes#displaying-time-series).

## Binding to Remote Data

Bind the series to an observable and use the [`async`](https://angular.dev/api/common/AsyncPipe) pipe for HTTP APIs and other async sources. The `async` pipe subscribes, triggers change detection on emissions, and unsubscribes when the component destroys. For more information, see [Updating Chart Data](https://www.telerik.com/kendo-angular-ui/components/charts/data-binding/updating-data).

The following example shows real-time server CPU monitoring with data updating every second. The observable emits new data points, and the Chart automatically updates through the `async` pipe.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/charts/chart/data-binding/services/source.txt)

## Handling Duplicate Categories

When multiple points share the same category, the Chart groups them and computes a single value per category. By default, the Chart uses the maximum value from the group. For more information, see [Grouping into Multiple Series](https://www.telerik.com/kendo-angular-ui/components/charts/data-binding/grouping).

The following example shows multiple sales transactions aggregated by product using the `sum` function.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/charts/chart/data-binding/duplicate-categories/aggregate/source.txt)

## See Also

* [Updating Chart Data](https://www.telerik.com/kendo-angular-ui/components/charts/data-binding/updating-data)
* [Grouping Chart Data](https://www.telerik.com/kendo-angular-ui/components/charts/data-binding/grouping)
* [No Data Overlay](https://www.telerik.com/kendo-angular-ui/components/charts/data-binding/no-data-overlay)
