# Data Context as Array of Point

## Content



The following code shows how to use the data context as an array of point:

```csharp
c1Chart1.Reset(true);
c1Chart1.DataContext = new Point[] { new Point(1, 1), new Point(2, 2), new Point(3, 4), new Point(4, 1) };
c1Chart1.ChartType = ChartType.LineSymbols;
```

## See Also

[Data Series Binding](/componentone/docs/wpf/online-chart/overview/ChartFeatures/DataBinding/dataseries)