# RadzenWaterfallSeries<TItem> Class

A chart series that displays data as a waterfall chart in a RadzenChart. Each column starts where the previous one ended, showing how sequential values contribute to a running total. Items with the summary property set to true render as total bars starting from zero. Positive values are colored with PositiveFill, negative with NegativeFill, and summary bars with SummaryFill.

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)
- RadzenWaterfallSeries<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)
- [IChartColumnSeries](https://blazor.radzen.com/docs/api/Radzen.Blazor.IChartColumnSeries.md)

## Syntax

```csharp
public class RadzenWaterfallSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IChartValueAxisSeries, IChartColumnSeries
```

## Type Parameters

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

## Examples

```razor
<RadzenChart>
    <RadzenWaterfallSeries Data=@data CategoryProperty="Label" ValueProperty="Amount"
        SummaryProperty="IsTotal" Title="Cash Flow" />
</RadzenChart>
```

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenWaterfallSeries<TItem>()` | A chart series that displays data as a waterfall chart in a RadzenChart. Each column starts where the previous one ended, showing how sequential values contribute to a running total. Items with the summary property set to true render as total bars starting from zero. Positive values are colored with PositiveFill, negative with NegativeFill, and summary bars with SummaryFill. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| Color | `string` |  |
| FillMode | [`FillMode`](https://blazor.radzen.com/docs/api/Radzen.Blazor.FillMode.md) | Specifies how the series is filled. Set to Solid by default. Use Gradient for a fill that fades toward the axis baseline, or None to render only the outline. |
| GradientEndOpacity | `double` | Specifies the opacity at the baseline of the gradient fill. Used when FillMode is Gradient. |
| GradientStartOpacity | `double` | Specifies the opacity at the value end of the gradient fill. Used when FillMode is Gradient. |
| LineType | [`LineType`](https://blazor.radzen.com/docs/api/Radzen.Blazor.LineType.md) | Gets or sets the line type for column borders. |
| NegativeFill | `string` | Gets or sets the fill color for negative value columns. When not set, the theme color scheme applies. |
| PositiveFill | `string` | Gets or sets the fill color for positive value columns. When not set, the theme color scheme applies. |
| Stroke | `string` | Gets or sets the stroke (border) color for all columns. |
| StrokeWidth | `double` | Gets or sets the width of the column border in pixels. |
| SummaryFill | `string` | Gets or sets the fill color for summary (total) columns. When not set, the theme color scheme applies. |
| SummaryProperty | `string` | Gets or sets the name of a boolean property on TItem that indicates summary (total) items. Summary items render as bars starting from zero, representing the cumulative total up to that point. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |
| `Contains(double x, double y, double tolerance)` | `bool` |  |
| `DataAt(double x, double y)` | `ValueTuple<object, Point>` |  |
| `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, Dispose, GetCategories, GetDataLabels, 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, ShowLineInLegend, 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

