RadzenPyramidSeries<TItem> Class

A chart series that displays data as a pyramid chart with trapezoid segments, widest at the bottom.

Inheritance

Object

ComponentBase

RadzenChartComponentBase

CartesianSeries<TItem>

RadzenPyramidSeries<TItem>

Implements

IComponent

IHandleEvent

IHandleAfterRender

IChartSeries

IChartValueAxisSeries

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>.TransformValueScale

CartesianSeries<TItem>.RenderOverlays

CartesianSeries<TItem>.RenderTopOverlays

CartesianSeries<TItem>.SetParametersAsync

CartesianSeries<TItem>.Initialize

CartesianSeries<TItem>.InsidePolygon

CartesianSeries<TItem>.RenderTooltip

CartesianSeries<TItem>.RenderSharedTooltipItem

CartesianSeries<TItem>.GetTooltipPosition

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>.PickColor

CartesianSeries<TItem>.Dispose

CartesianSeries<TItem>.InvokeClick

CartesianSeries<TItem>.ValueAxisName

CartesianSeries<TItem>.Title

CartesianSeries<TItem>.ChildContent

CartesianSeries<TItem>.TooltipTemplate

CartesianSeries<TItem>.Overlays

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 RadzenPyramidSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IChartValueAxisSeries

Type Parameters

Name Description
TItemThe type of data items in the series.

Constructors

RadzenPyramidSeries<TItem>link

A chart series that displays data as a pyramid chart with trapezoid segments, widest at the bottom.

Declaration
public RadzenPyramidSeries<TItem>()

Properties

Colorlink

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

CoordinateSystemlink

Declaration
public CoordinateSystem CoordinateSystem { get; }
Property Value
Type Description
CoordinateSystem

FillModelink

Specifies how the segments are filled. Set to Solid by default. Use Gradient for a horizontal fade across each segment, or None to render only the outline.

Declaration
public FillMode FillMode { get; set; }
Property Value
Type Description
FillModeSpecifies how the segments are filled. Set to Solid by default. Use Gradient for a horizontal fade across each segment, or None to render only the outline.

Fillslink

Gets or sets a collection of fill colors applied to individual pyramid segments.

Declaration
public IEnumerable<string> Fills { get; set; }
Property Value
Type Description
IEnumerable<string>Gets or sets a collection of fill colors applied to individual pyramid segments.

GradientEndOpacitylink

Specifies the opacity at the end (right) edge of the gradient fill. Used when FillMode is Gradient.

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

GradientStartOpacitylink

Specifies the opacity at the start (left) edge of the gradient fill. Used when FillMode is Gradient.

Declaration
public double GradientStartOpacity { get; set; }
Property Value
Type Description
doubleSpecifies the opacity at the start (left) edge of the gradient fill. Used when FillMode is Gradient.

Invertedlink

Gets or sets a value indicating whether to invert the pyramid so the wide base is at the top. When false (default), the wide base is at the bottom. When true, the wide base is at the top.

Declaration
public bool Inverted { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether to invert the pyramid so the wide base is at the top. When false (default), the wide base is at the bottom. When true, the wide base is at the top.

ShowLabelslink

Gets or sets a value indicating whether to show labels on each segment.

Declaration
public bool ShowLabels { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether to show labels on each segment.

StrokeWidthlink

Gets or sets the width of segment borders in pixels.

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

Strokeslink

Gets or sets a collection of stroke colors applied to individual pyramid segments.

Declaration
public IEnumerable<string> Strokes { get; set; }
Property Value
Type Description
IEnumerable<string>Gets or sets a collection of stroke colors applied to individual pyramid segments.

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>

GetDataLabelslink

Declaration
public override IEnumerable<Rendering.ChartDataLabel> GetDataLabels(double offsetX, double offsetY)
Parameters
Type Name Description
double offsetX
double offsetY
Returns
Type Description
IEnumerable<Rendering.ChartDataLabel>

GetDataLabelslink

Declaration
public override IEnumerable<Rendering.ChartDataLabel> GetDataLabels(double offsetX, double offsetY, DataLabelPosition position)
Parameters
Type Name Description
double offsetX
double offsetY
DataLabelPosition position
Returns
Type Description
IEnumerable<Rendering.ChartDataLabel>

MeasureLegendlink

Declaration
public override double MeasureLegend()
Returns
Type Description
double

MeasureLegendItemslink

Declaration
public override IEnumerable<double> MeasureLegendItems()
Returns
Type Description
IEnumerable<double>

Renderlink

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

RenderLegendItemlink

Declaration
protected override RenderFragment RenderLegendItem(bool clickable)
Parameters
Type Name Description
bool clickable
Returns
Type Description
RenderFragment

TooltipClasslink

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

TooltipStylelink

Declaration
protected override string TooltipStyle(TItem item)
Parameters
Type Name Description
TItem item
Returns
Type Description
string
An error has occurred. This app may no longer respond until reloaded. Reload 🗙