Renders 100% stacked bar series in RadzenChart. Each category's values are normalized so they total 100%.
Object
ComponentBase
IComponent
IHandleEvent
IHandleAfterRender
CartesianSeries<TItem>.RequireChart
CartesianSeries<TItem>.ComposeCategory
CartesianSeries<TItem>.ComposeValue
CartesianSeries<TItem>.TryGetPlotRange
CartesianSeries<TItem>.BandIntersects
CartesianSeries<TItem>.ClipToPlotRange
CartesianSeries<TItem>.IsValueNullable
CartesianSeries<TItem>.GetRawValueGetter
CartesianSeries<TItem>.IsNumeric
CartesianSeries<TItem>.IncludeZeroInValueScale
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>.PickColor
CartesianSeries<TItem>.Dispose
CartesianSeries<TItem>.InvokeClick
CartesianSeries<TItem>.ValueAxisName
CartesianSeries<TItem>.ChildContent
CartesianSeries<TItem>.TooltipTemplate
CartesianSeries<TItem>.Overlays
CartesianSeries<TItem>.CoordinateSystem
CartesianSeries<TItem>.CategoryProperty
CartesianSeries<TItem>.Visible
CartesianSeries<TItem>.ShowInLegend
CartesianSeries<TItem>.ValueProperty
CartesianSeries<TItem>.RenderingOrder
CartesianSeries<TItem>.Markers
CartesianSeries<TItem>.MarkerType
CartesianSeries<TItem>.ShowActivePoint
CartesianSeries<TItem>.ShowLineInLegend
CartesianSeries<TItem>.MarkerSize
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
public class RadzenFullStackedBarSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IChartValueAxisSeries, IChartFullStackedBarSeries, IChartStackedBarSeries, IChartBarSeries| Name | Description |
|---|---|
| TItem | The type of the series data item. |
Renders 100% stacked bar series in RadzenChart. Each category's values are normalized so they total 100%.
public RadzenFullStackedBarSeries<TItem>()public string Color { get; }
| Type | Description |
|---|---|
| string |
Specifies the fill (background color) of the bar series.
public string Fill { get; set; }
| Type | Description |
|---|---|
| string | Specifies the fill (background color) of the bar series. |
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.
public FillMode FillMode { get; set; }
| Type | Description |
|---|---|
| FillMode | 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. |
Gets or sets the color range of the fill.
public IList<SeriesColorRange> FillRange { get; set; }
| Type | Description |
|---|---|
| IList<SeriesColorRange> | Gets or sets the color range of the fill. |
Specifies a list of colors that will be used to set the individual bar backgrounds.
public IEnumerable<string> Fills { get; set; }
| Type | Description |
|---|---|
| IEnumerable<string> | Specifies a list of colors that will be used to set the individual bar backgrounds. |
Specifies the opacity at the baseline of the gradient fill. Used when FillMode is Gradient.
public double GradientEndOpacity { get; set; }
| Type | Description |
|---|---|
| double | Specifies the opacity at the baseline of the gradient fill. Used when FillMode is Gradient. |
Specifies the opacity at the value end of the gradient fill. Used when FillMode is Gradient.
public double GradientStartOpacity { get; set; }
| Type | Description |
|---|---|
| double | Specifies the opacity at the value end of the gradient fill. Used when FillMode is Gradient. |
Gets or sets the type of the line used to render the bar border.
public LineType LineType { get; set; }
| Type | Description |
|---|---|
| LineType | Gets or sets the type of the line used to render the bar border. |
Specifies the stack this series belongs to. Series with the same stack group stack on top of each other and every distinct group renders as its own bar placed next to the other groups and next to any plain bar series in the chart. Series without a group share one stack.
public string StackGroup { get; set; }
| Type | Description |
|---|---|
| string | Specifies the stack this series belongs to. Series with the same stack group stack on top of each other and every distinct group renders as its own bar placed next to the other groups and next to any plain bar series in the chart. Series without a group share one stack. |
Specifies the stroke (border color) of the bar series.
public string Stroke { get; set; }
| Type | Description |
|---|---|
| string | Specifies the stroke (border color) of the bar series. |
Gets or sets the color range of the stroke.
public IList<SeriesColorRange> StrokeRange { get; set; }
| Type | Description |
|---|---|
| IList<SeriesColorRange> | Gets or sets the color range of the stroke. |
Gets or sets the width of the stroke (border).
public double StrokeWidth { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the width of the stroke (border). |
Specifies a list of colors that will be used to set the individual bar borders.
public IEnumerable<string> Strokes { get; set; }
| Type | Description |
|---|---|
| IEnumerable<string> | Specifies a list of colors that will be used to set the individual bar borders. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
public override bool Contains(double x, double y, double tolerance)
| Type | Name | Description |
|---|---|---|
| double | x | |
| double | y | |
| double | tolerance |
| Type | Description |
|---|---|
| bool |
public override ValueTuple<object, Point> DataAt(double x, double y)
| Type | Name | Description |
|---|---|---|
| double | x | |
| double | y |
| Type | Description |
|---|---|
| ValueTuple<object, Point> |
protected override IList<object> GetCategories()
| Type | Description |
|---|---|
| IList<object> |
public override IEnumerable<Rendering.ChartDataLabel> GetDataLabels(double offsetX, double offsetY)
| Type | Name | Description |
|---|---|---|
| double | offsetX | |
| double | offsetY |
| Type | Description |
|---|---|
| IEnumerable<Rendering.ChartDataLabel> |
public override IEnumerable<Rendering.ChartDataLabel> GetDataLabels(double offsetX, double offsetY, DataLabelPosition position)
| Type | Name | Description |
|---|---|---|
| double | offsetX | |
| double | offsetY | |
| DataLabelPosition | position |
| Type | Description |
|---|---|
| IEnumerable<Rendering.ChartDataLabel> |
public override RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)
| Type | Description |
|---|---|
| RenderFragment |
protected override bool ShouldRefreshChart(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| bool |
protected override string TooltipStyle(TItem item)
| Type | Name | Description |
|---|---|---|
| TItem | item |
| Type | Description |
|---|---|
| string |
protected override string TooltipTitle(TItem item)
| Type | Name | Description |
|---|---|---|
| TItem | item |
| Type | Description |
|---|---|
| string |
protected override string TooltipValue(TItem item)
| Type | Name | Description |
|---|---|---|
| TItem | item |
| Type | Description |
|---|---|
| string |
public override ScaleBase TransformCategoryScale(ScaleBase scale)
| Type | Name | Description |
|---|---|---|
| ScaleBase | scale |
| Type | Description |
|---|---|
| ScaleBase |
public override ScaleBase TransformValueScale(ScaleBase scale)
| Type | Name | Description |
|---|---|---|
| ScaleBase | scale |
| Type | Description |
|---|---|
| ScaleBase |