Skip to main content
All docs
V24.2

DxChartSeriesValueErrorBar.DisplayMode Property

Specifies how the chart displays error bars.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(ChartValueErrorBarDisplayMode.Auto)]
[Parameter]
public ChartValueErrorBarDisplayMode DisplayMode { get; set; }

Property Value

Type Default Description
ChartValueErrorBarDisplayMode Auto

An enumeration value.

Available values:

Name Description Image
Auto

Displays both positive and negative error bars.

Error bars - Auto displaymode

Low

Displays negative error bars.

Error bars - Low display mode

High

Displays positive error bars.

Error bars - High display mode

None

Hides error bars.

Charts - None display mode

Remarks

Error bars consist of two parts that indicate positive and negative deviation (positive and negative error bars). The DisplayMode property specifies which parts are visibile.

In the following example, the chart displays positive error bars for a bar series and negative bars for a line series:

<DxChartLineSeries Pane="TopPane"
                   Name="@LineSeriesName"
                   ArgumentField="@((AverageTemperatureData i) => i.Month)"
                   ValueField="@((AverageTemperatureData i) => i.AverageTemperature)">
    <DxChartSeriesValueErrorBar LowValueField="@nameof(AverageTemperatureData.AverageLowTemperature)"
                                HighValueField="@nameof(AverageTemperatureData.AverageHighTemperature)"
                                DisplayMode="ChartValueErrorBarDisplayMode.Low"
                                LineWidth="1"
                                Opacity="0.8"/>
</DxChartLineSeries>
<DxChartBarSeries Pane="BottomPane"
                  Name="@BarSeriesName"
                  ArgumentField="@((AverageTemperatureData i) => i.Month)"
                  ValueField="@((AverageTemperatureData i) => i.AverageHumidity)">
    <DxChartSeriesValueErrorBar Type="ChartValueErrorBarType.Fixed"
                                Value="@ErrorBarValue"
                                DisplayMode="ChartValueErrorBarDisplayMode.High"
                                LineWidth="1" />
</DxChartBarSeries>
See Also