# Series class

Serves as the base class for chart series. A series owns the data that is displayed and a series view that defines its appearance.

**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 abstract class Series : ChartElement, IIndexedChartElement
```

## Public Members

| name | description |
| --- | --- |
| [AxisXKey](Series/AxisXKey.md) { get; set; } | Gets or sets the key of the X axis that the series is bound to. |
| [AxisYKey](Series/AxisYKey.md) { get; set; } | Gets or sets the key of the Y axis that the series is bound to. |
| [DataAdapter](Series/DataAdapter.md) { get; set; } | Gets or sets the adapter that supplies the data to be displayed. |
| [DrawingAreaKey](Series/DrawingAreaKey.md) { get; set; } | Gets or sets the key of the drawing area that the series is plotted in. |
| [SeriesName](Series/SeriesName.md) { get; set; } | Gets or sets the text displayed by the legend. The text is treated as a format string, where {0} is replaced with the series index. |
| [Visible](Series/Visible.md) { get; set; } | Gets or sets whether the series is displayed. |

## See Also

* class [ChartElement](./ChartElement.md)
* namespace [Eremex.AvaloniaUI.Charts](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
