DxChartRangeAreaSeries<T, TArgument, TValue> Class

Defines a range area series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartRangeAreaSeries<T, TArgument, TValue> :
    DxChartSeries<T, TArgument, TValue, ChartRangeAreaSeriesModel<T, TArgument, TValue>>

Type Parameters

Name Description
T

The type of data.

TArgument

The type of arguments.

TValue

The type of values.

Remarks

Range Area series display data as a color-filled space between lines. The Chart selects the maximum and minimum values from data points with an equal argument to specify start and end values.

You can use the following code to add a range series to a chart:

<DxChart Data="@WeatherForecasts">
    <DxChartRangeAreaSeries 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 Area Series

Inheritance

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