Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxChartSeriesValueErrorBar.Value Property

Specifies error values.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(1)]
[Parameter]
public double Value { get; set; }

#Property Value

Type Default Description
Double 1

The error value.

#Remarks

The DxChart component allows you to calculate error bar values based on a calculation algorithm. To enable this functionality, specify Type and Value properties.

Based on the Type property value, the Value property applies as follows:

Fixed
Specifies constant error values.
Percent
Specifies percentages of series point values.
StdError
Multiplies the calculated standard error.
StdDeviation
Multiplies the calculated standard deviation.
Variance
Multiplies the calculated variance.
None
Does not apply. The chart component obtains error bar values from data source fields.
Razor
<DxChart Data="@DataSource">
    @* ... *@
    <DxChartLineSeries Pane="TopPane"
                       Name="@LineSeriesName"
                       ArgumentField="@((AverageTemperatureData i) => i.Month)"
                       ValueField="@((AverageTemperatureData i) => i.AverageTemperature)">
        <DxChartSeriesValueErrorBar LowValueField="@nameof(AverageTemperatureData.AverageLowTemperature)"
                                    HighValueField="@nameof(AverageTemperatureData.AverageHighTemperature)"
                                    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"
                                    LineWidth="1" />
    </DxChartBarSeries>
    @* ... *@
</DxChart>

@code {
    // ...
    double ErrorBarValue = 6;
}

Charts - Error bars

See Also