# ChartElementCollection&lt;T&gt; class

Represents a collection of chart elements that can be filled either by adding elements directly or by binding the collection to a data source through the matching items source and template properties of the owner control.

**Namespace:** [`Eremex.AvaloniaUI.Charts`](./index.md)  
**Assembly:** `Eremex.Avalonia.Charts.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class ChartElementCollection<T> : ObservableCollection<T>
    where T : ChartElement, new()
```

## Type Parameters

| name | description |
| --- | --- |
| T | The type of the elements stored in the collection. |

## See Also

* class [ChartElement](./ChartElement.md)
* namespace [Eremex.AvaloniaUI.Charts](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
