# Data Binding RadChart to an Array

> caution **RadChart** has been deprecated since Q3 2014 and is marked as obsolete as of the 2026 Q2 SP1 (v2026.2.708) release. This is the last release that includes the RadChart component — its source code will be removed from the assembly in the next release. We strongly recommend using [RadHtmlChart](https://www.telerik.com/products/aspnet-ajax/html-chart.aspx), Telerik's modern client-side charting component.
> To transition from RadChart to RadHtmlChart, refer to the following migration articles:
>
> * [Migrating Series](https://www.telerik.com/products/aspnet-ajax/documentation/controls/htmlchart/changes-and-backwards-compatibility/migrating-from-radchart-to-radhtmlchart/migrate-series-configuration)
> * [Migrating Axes](https://www.telerik.com/products/aspnet-ajax/documentation/controls/htmlchart/changes-and-backwards-compatibility/migrating-from-radchart-to-radhtmlchart/migrate-axes-configuration)
> * [Migrating Date Axes](https://www.telerik.com/products/aspnet-ajax/documentation/controls/htmlchart/changes-and-backwards-compatibility/migrating-from-radchart-to-radhtmlchart/migrate-date-axis-configuration)
> * [Migrating Databinding](https://www.telerik.com/products/aspnet-ajax/documentation/controls/htmlchart/changes-and-backwards-compatibility/migrating-from-radchart-to-radhtmlchart/migrate-data-binding-configuration)
> * [Features parity](https://www.telerik.com/products/aspnet-ajax/documentation/controls/htmlchart/changes-and-backwards-compatibility/migrating-from-radchart-to-radhtmlchart/migrate-functionalities---features-and-series-types-parity)
>
> Explore the [RadHtmlChart documentation](https://www.telerik.com/products/aspnet-ajax/documentation/controls/htmlchart/overview) and online demos to determine how it fits your development needs.

To bind a RadChart to an [Array](https://msdn2.microsoft.com/en-us/library/system.array\(VS.71\).aspx) object, assign the RadChart DataSource property to the array, then call the RadChart DataBind() method. The example below demonstrates data binding to an array of integers.

![Databinding to an array](https://www.telerik.com/products/aspnet-ajax/documentation/assets/07b0782621a9eab72b2b01602a4efa14/radchart-building007.png)

```C#
protected void Page_Load(object sender, EventArgs e)
{
   int[] intArray = new int[4] { 10, 12, 13, 5 };
   RadChart1.DataSource = intArray;
   RadChart1.DataBind();
} 			
```

```VB
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
	Dim intArray As Integer() = New Integer(4) {10, 12, 13, 5}
	RadChart1.DataSource = intArray
	RadChart1.DataBind()
End Sub
```

## See Also

* [Data Binding RadChart to a Database Object](https://www.telerik.com/products/aspnet-ajax/documentation/controls/chart/building-radcharts/data-binding-radchart-to-a-database-object)

* [Data Binding RadChart to a Generic List](https://www.telerik.com/products/aspnet-ajax/documentation/controls/chart/building-radcharts/data-binding-radchart-to-a-generic-list)

* [Data Binding RadChart to an ObjectDataSource](https://www.telerik.com/products/aspnet-ajax/documentation/controls/chart/building-radcharts/data-binding-radchart-to-an-objectdatasource)

* [Data Binding RadChart to an XML file](https://www.telerik.com/products/aspnet-ajax/documentation/controls/chart/building-radcharts/data-binding-radchart-to-an-xml-file)

* [Data Binding RadChart](https://www.telerik.com/products/aspnet-ajax/documentation/controls/chart/building-radcharts/data-binding-radchart)
