Table of Contents

Class RadzenAreaSeries<TItem>

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

Renders area series in RadzenChart.

public class RadzenAreaSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IDisposable

Type Parameters

TItem
Inheritance
RadzenAreaSeries<TItem>
Implements
Inherited Members

Constructors

RadzenAreaSeries()

public RadzenAreaSeries()

Properties

Color

public override string Color { get; }

Property Value

string

Fill

Specifies the fill (background color) of the area series.

[Parameter]
public string Fill { get; set; }

Property Value

string

The fill.

Interpolation

Specifies how to render lines between data points. Set to Line by default

[Parameter]
public Interpolation Interpolation { get; set; }

Property Value

Interpolation

LineType

Specifies the line type.

[Parameter]
public LineType LineType { get; set; }

Property Value

LineType

Smooth

Specifies whether to render a smooth line. Set to false by default.

[Parameter]
public bool Smooth { get; set; }

Property Value

bool

Stroke

Specifies the color of the line.

[Parameter]
public string Stroke { get; set; }

Property Value

string

The stroke.

StrokeWidth

Gets or sets the pixel width of the line. Set to 2 by default.

[Parameter]
public double StrokeWidth { get; set; }

Property Value

double

The width of the stroke.

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Contains(double, double, double)

public override bool Contains(double x, double y, double tolerance)

Parameters

x double
y double
tolerance double

Returns

bool

GetDataLabels(double, double)

public override IEnumerable<ChartDataLabel> GetDataLabels(double offsetX, double offsetY)

Parameters

offsetX double
offsetY double

Returns

IEnumerable<ChartDataLabel>

Render(ScaleBase, ScaleBase)

public override RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)

Parameters

categoryScale ScaleBase
valueScale ScaleBase

Returns

RenderFragment

TooltipStyle(TItem)

protected override string TooltipStyle(TItem item)

Parameters

item TItem

Returns

string