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.

Inheritance

Object

ComponentBase

RadzenChartComponentBase

CartesianSeries<TItem>

RadzenWaterfallSeries<TItem>

Implements

IComponent

IHandleEvent

IHandleAfterRender

IChartSeries

IChartValueAxisSeries

IChartColumnSeries

Inherited Members

CartesianSeries<TItem>.RequireChart

CartesianSeries<TItem>.ComposeCategory

CartesianSeries<TItem>.ComposeValue

CartesianSeries<TItem>.IsValueNullable

CartesianSeries<TItem>.GetRawValueGetter

CartesianSeries<TItem>.IsDate

CartesianSeries<TItem>.IsNumeric

CartesianSeries<TItem>.GetCategories

CartesianSeries<TItem>.TransformCategoryScale

CartesianSeries<TItem>.RenderOverlays

CartesianSeries<TItem>.RenderTopOverlays

CartesianSeries<TItem>.SetParametersAsync

CartesianSeries<TItem>.Initialize

CartesianSeries<TItem>.MeasureLegend

CartesianSeries<TItem>.MeasureLegendItems

CartesianSeries<TItem>.InsidePolygon

CartesianSeries<TItem>.RenderTooltip

CartesianSeries<TItem>.RenderSharedTooltipItem

CartesianSeries<TItem>.GetTooltipPosition

CartesianSeries<TItem>.TooltipClass

CartesianSeries<TItem>.RenderLegendItem

CartesianSeries<TItem>.GetMedian

CartesianSeries<TItem>.GetMean

CartesianSeries<TItem>.GetMode

CartesianSeries<TItem>.GetTrend

CartesianSeries<TItem>.GetScaledDataPoints

CartesianSeries<TItem>.GetTitle

CartesianSeries<TItem>.TooltipLabel

CartesianSeries<TItem>.TooltipTitle

CartesianSeries<TItem>.TooltipValue

CartesianSeries<TItem>.GetDataLabels

CartesianSeries<TItem>.PickColor

CartesianSeries<TItem>.Dispose

CartesianSeries<TItem>.InvokeClick

CartesianSeries<TItem>.ValueAxisName

CartesianSeries<TItem>.Title

CartesianSeries<TItem>.ChildContent

CartesianSeries<TItem>.TooltipTemplate

CartesianSeries<TItem>.Overlays

CartesianSeries<TItem>.CoordinateSystem

CartesianSeries<TItem>.CategoryProperty

CartesianSeries<TItem>.Visible

CartesianSeries<TItem>.Hidden

CartesianSeries<TItem>.ShowInLegend

CartesianSeries<TItem>.ValueProperty

CartesianSeries<TItem>.RenderingOrder

CartesianSeries<TItem>.Data

CartesianSeries<TItem>.Items

CartesianSeries<TItem>.Markers

CartesianSeries<TItem>.MarkerType

CartesianSeries<TItem>.ShowActivePoint

CartesianSeries<TItem>.ShowLineInLegend

CartesianSeries<TItem>.MarkerSize

RadzenChartComponentBase.ShouldRefreshChart

RadzenChartComponentBase.ValidateParameters

RadzenChartComponentBase.DidParameterChange

RadzenChartComponentBase.Chart

ComponentBase.OnInitialized

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

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

Type Parameters

Name Description
TItemThe type of data items in the series.

Examples

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

Constructors

RadzenWaterfallSeries<TItem>link

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.

Declaration
public RadzenWaterfallSeries<TItem>()

Properties

Colorlink

Declaration
public string Color { get; }
Property Value
Type Description
string

FillModelink

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.

Declaration
public FillMode FillMode { get; set; }
Property Value
Type Description
FillModeSpecifies 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.

GradientEndOpacitylink

Specifies the opacity at the baseline of the gradient fill. Used when FillMode is Gradient.

Declaration
public double GradientEndOpacity { get; set; }
Property Value
Type Description
doubleSpecifies the opacity at the baseline of the gradient fill. Used when FillMode is Gradient.

GradientStartOpacitylink

Specifies the opacity at the value end of the gradient fill. Used when FillMode is Gradient.

Declaration
public double GradientStartOpacity { get; set; }
Property Value
Type Description
doubleSpecifies the opacity at the value end of the gradient fill. Used when FillMode is Gradient.

LineTypelink

Gets or sets the line type for column borders.

Declaration
public LineType LineType { get; set; }
Property Value
Type Description
LineTypeGets or sets the line type for column borders.

NegativeFilllink

Gets or sets the fill color for negative value columns. When not set, the theme color scheme applies.

Declaration
public string NegativeFill { get; set; }
Property Value
Type Description
stringGets or sets the fill color for negative value columns. When not set, the theme color scheme applies.

PositiveFilllink

Gets or sets the fill color for positive value columns. When not set, the theme color scheme applies.

Declaration
public string PositiveFill { get; set; }
Property Value
Type Description
stringGets or sets the fill color for positive value columns. When not set, the theme color scheme applies.

Strokelink

Gets or sets the stroke (border) color for all columns.

Declaration
public string Stroke { get; set; }
Property Value
Type Description
stringGets or sets the stroke (border) color for all columns.

StrokeWidthlink

Gets or sets the width of the column border in pixels.

Declaration
public double StrokeWidth { get; set; }
Property Value
Type Description
doubleGets or sets the width of the column border in pixels.

SummaryFilllink

Gets or sets the fill color for summary (total) columns. When not set, the theme color scheme applies.

Declaration
public string SummaryFill { get; set; }
Property Value
Type Description
stringGets or sets the fill color for summary (total) columns. When not set, the theme color scheme applies.

SummaryPropertylink

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.

Declaration
public string SummaryProperty { get; set; }
Property Value
Type Description
stringGets 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

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

Containslink

Declaration
public override bool Contains(double x, double y, double tolerance)
Parameters
Type Name Description
double x
double y
double tolerance
Returns
Type Description
bool

DataAtlink

Declaration
public override ValueTuple<object, Point> DataAt(double x, double y)
Parameters
Type Name Description
double x
double y
Returns
Type Description
ValueTuple<object, Point>

Renderlink

Declaration
public override RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)
Parameters
Type Name Description
ScaleBase categoryScale
ScaleBase valueScale
Returns
Type Description
RenderFragment

TooltipStylelink

Declaration
protected override string TooltipStyle(TItem item)
Parameters
Type Name Description
TItem item
Returns
Type Description
string

TransformValueScalelink

Declaration
public override ScaleBase TransformValueScale(ScaleBase scale)
Parameters
Type Name Description
ScaleBase scale
Returns
Type Description
ScaleBase
An error has occurred. This app may no longer respond until reloaded. Reload 🗙