DxChartBarSeries<T, TArgument, TValue> Class

Defines a bar series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartBarSeries<T, TArgument, TValue> :
    DxChartSeries<T, TArgument, TValue, ChartBarSeriesModel<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 bar series displays data as a collection of rectangular bars.

<DxChart Data="@ChartsData">
    <DxChartBarSeries Name="2013" Filter="@((SaleInfo s) => s.Date.Year == 2013") 
                      ArgumentField="@(s => s.City)" ValueField="@(s => s.Amount)" />
    <DxChartBarSeries Name="2014" Filter="@((SaleInfo s) => s.Date.Year == 2014") 
                      ArgumentField="@(s => s.City)" ValueField="@(s => s.Amount)" />
    <DxChartBarSeries 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 Bar Series Series

Online Demo

Charts - Series Types

Inheritance

Object
ComponentBase
DxSettingsComponent<ChartSeriesModel>
DxComplexSettingsComponent<DxChartSeries, ChartSeriesModel>
DxChartSeries
DxChartSeries<T, TArgument, TValue, TValue, ChartBarSeriesModel<T, TArgument, TValue>>
DxChartSeries<T, TArgument, TValue, ChartBarSeriesModel<T, TArgument, TValue>>
DxChartBarSeries<T, TArgument, TValue>
See Also