DxChartStackedBarSeries<T, TArgument, TValue> Class

Defines a stacked bar series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartStackedBarSeries<T, TArgument, TValue> :
    DxChartSeries<T, TArgument, TValue, ChartStackedBarSeriesModel<T, TArgument, TValue>>

Type Parameters

Name Description
T

The type of data.

TArgument

The type of series arguments.

TValue

The type of series values.

Remarks

The stacked bar series displays data as a collection of rectangular bars. Values of different series are stacked in multiple-series bars.

<DxChart Data="@ChartsData">
    <DxChartStackedBarSeries Name="2013" Filter="@((SaleInfo s) => s.Date.Year == 2013") 
                      ArgumentField="@(s => s.City)" ValueField="@(s => s.Amount)" />
    <DxChartStackedBarSeries Name="2014" Filter="@((SaleInfo s) => s.Date.Year == 2014") 
                      ArgumentField="@(s => s.City)" ValueField="@(s => s.Amount)" />
    <DxChartStackedBarSeries Name="2015" Filter="@((SaleInfo s) => s.Date.Year == 2015)" 
                      ArgumentField="@(s => s.City)" ValueField="@(s => s.Amount)" />
    <DxChartLegend Position="@RelativePosition.Outside" HorizontalAlignment="@HorizontalAlignment.Right" />
</DxChart>

Chart Stacked Bar Series

Online Demo

Charts - Series Types

Inheritance

Object
ComponentBase
DxSettingsComponent<ChartSeriesModel>
DxComplexSettingsComponent<DxChartSeries, ChartSeriesModel>
DxChartSeries
DxChartSeries<T, TArgument, TValue, TValue, ChartStackedBarSeriesModel<T, TArgument, TValue>>
DxChartSeries<T, TArgument, TValue, ChartStackedBarSeriesModel<T, TArgument, TValue>>
DxChartStackedBarSeries<T, TArgument, TValue>
See Also