Table of Contents

Class RadzenColumnSeries<TItem>

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

Renders column series in RadzenChart

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

Type Parameters

TItem

The type of the series data item.

Inheritance
RadzenColumnSeries<TItem>
Implements
Inherited Members

Constructors

RadzenColumnSeries()

public RadzenColumnSeries()

Properties

Color

public override string Color { get; }

Property Value

string

Fill

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

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

Property Value

string

The fill.

FillRange

Gets or sets the color range of the fill.

[Parameter]
public IList<SeriesColorRange> FillRange { get; set; }

Property Value

IList<SeriesColorRange>

The color range of the fill.

Fills

Specifies a list of colors that will be used to set the individual column backgrounds.

[Parameter]
public IEnumerable<string> Fills { get; set; }

Property Value

IEnumerable<string>

The fills.

LineType

Gets or sets the type of the line used to render the column border.

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

Property Value

LineType

The type of the line.

Stroke

Specifies the stroke (border color) of the column series.

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

Property Value

string

The stroke.

StrokeRange

Gets or sets the color range of the stroke.

[Parameter]
public IList<SeriesColorRange> StrokeRange { get; set; }

Property Value

IList<SeriesColorRange>

The color range of the stroke.

StrokeWidth

Gets or sets the width of the stroke (border).

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

Property Value

double

The width of the stroke.

Strokes

Specifies a list of colors that will be used to set the individual column borders.

[Parameter]
public IEnumerable<string> Strokes { get; set; }

Property Value

IEnumerable<string>

The strokes.

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

DataAt(double, double)

public override (object, Point) DataAt(double x, double y)

Parameters

x double
y double

Returns

(object, Point)

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