# RadzenStackedLineSeries<TItem> Class

Renders stacked line series in [RadzenChart](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChart.md).

Namespace: [Radzen.Blazor](https://blazor.radzen.com/docs/api/Radzen.Blazor.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- [RadzenChartComponentBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChartComponentBase.md)
- [CartesianSeries<TItem>](https://blazor.radzen.com/docs/api/Radzen.Blazor.CartesianSeries-1.md)
- RadzenStackedLineSeries<TItem>

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender
- [IChartSeries](https://blazor.radzen.com/docs/api/Radzen.Blazor.IChartSeries.md)
- [IChartValueAxisSeries](https://blazor.radzen.com/docs/api/Radzen.Blazor.IChartValueAxisSeries.md)
- [IChartStackedAreaSeries](https://blazor.radzen.com/docs/api/Radzen.Blazor.IChartStackedAreaSeries.md)

## Syntax

```csharp
public class RadzenStackedLineSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IChartValueAxisSeries, IChartStackedAreaSeries
```

## Type Parameters

| Name | Description |
|------|-------------|
| TItem | The type of data items in the series. |

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenStackedLineSeries<TItem>()` | Renders stacked line series in [RadzenChart](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChart.md). |

## Properties

| Property | Type | Description |
|------|------|-------------|
| Color | `string` |  |
| Interpolation | [`Interpolation`](https://blazor.radzen.com/docs/api/Radzen.Blazor.Interpolation.md) | Specifies how to render lines between data points. Set to Line by default. |
| LineType | [`LineType`](https://blazor.radzen.com/docs/api/Radzen.Blazor.LineType.md) | Specifies the line type. |
| ShowLineInLegend | `bool` |  |
| Smooth | `bool` | Specifies whether to render a smooth line. Set to false by default. |
| Stroke | `string` | Specifies the color of the line. |
| StrokeWidth | `double` | Gets or sets the pixel width of the line. Set to 2 by default. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |
| `Contains(double x, double y, double tolerance)` | `bool` |  |
| `GetDataLabels(double offsetX, double offsetY)` | `IEnumerable<Rendering.ChartDataLabel>` |  |
| `Render(ScaleBase categoryScale, ScaleBase valueScale)` | `RenderFragment` |  |
| `TooltipStyle(TItem item)` | `string` |  |
| `TransformValueScale(ScaleBase scale)` | [`ScaleBase`](https://blazor.radzen.com/docs/api/Radzen.Blazor.ScaleBase.md) |  |

## Inherited Members

- From [CartesianSeries<TItem>](https://blazor.radzen.com/docs/api/Radzen.Blazor.CartesianSeries-1.md): BandIntersects, CategoryProperty, ChildContent, ClipToPlotRange, ComposeCategory, ComposeValue, CoordinateSystem, Data, DataAt, Dispose, GetCategories, GetMean, GetMedian, GetMode, GetRawValueGetter, GetScaledDataPoints, GetTitle, GetTooltipPosition, GetTrend, Hidden, IncludeZeroInValueScale, Initialize, InsidePolygon, InvokeClick, IsDate, IsNumeric, IsValueNullable, Items, MarkerSize, MarkerType, Markers, MeasureLegend, MeasureLegendItems, Overlays, PickColor, RenderLegendItem, RenderOverlays, RenderSharedTooltipItem, RenderTooltip, RenderTopOverlays, RenderingOrder, RequireChart, SetParametersAsync, ShowActivePoint, ShowInLegend, Title, TooltipClass, TooltipLabel, TooltipTemplate, TooltipTitle, TooltipValue, TransformCategoryScale, TryGetPlotRange, ValueAxisName, ValueProperty, Visible
- From [RadzenChartComponentBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChartComponentBase.md): Chart, DidParameterChange, ShouldRefreshChart, ValidateParameters
- From ComponentBase: Assets, AssignedRenderMode, DispatchExceptionAsync, InvokeAsync, OnAfterRender, OnAfterRenderAsync, OnInitialized, OnInitializedAsync, OnParametersSet, OnParametersSetAsync, RendererInfo, ShouldRender, StateHasChanged

