DxChartRangeBarSeries<T, TArgument, TValue> Class

Defines a range bar series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartRangeBarSeries<T, TArgument, TValue> :
    DxChartSeries<T, TArgument, TValue, ChartRangeBarSeriesModel<T, TArgument, TValue>>

Type Parameters

Name Description
T

The type of data.

TArgument

The type of arguments.

TValue

The type of values.

Remarks

Range Bar series display value ranges that correspond to argument values. The Chart selects the maximum and minimum bar limits from data points with an equal argument to specify start and end values.

<DxChart Data="@WeatherForecasts">
    <DxChartRangeBarSeries ValueField="@((WeatherForecast i) => i.TemperatureF)" 
                           ArgumentField="@(i => i.Date.ToString("yyyy/MM/dd"))" 
                           Name="Temperature, F" />
    <DxChartTooltip>
        @context.GetRangePoint().Render((rangePoint) => 
            @<div class="p-3">
                <p>Max: @rangePoint.EndValue</p>
                <p>Min: @rangePoint.StartValue</p>
            </div>
        )
    </DxChartTooltip>
</DxChart>
NOTE

Online Demo: Charts - Range Bar Series

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.ChartSeriesModel>
DxComplexSettingsComponent<DxChartSeries, DevExpress.Blazor.ChartSeriesModel>
DxChartSeries
DxChartSeries<T, TArgument, TValue, TValue, DevExpress.Blazor.ChartRangeBarSeriesModel<T, TArgument, TValue>>
DxChartSeries<T, TArgument, TValue, DevExpress.Blazor.ChartRangeBarSeriesModel<T, TArgument, TValue>>
DxChartRangeBarSeries<T, TArgument, TValue>
See Also