DxChartSeriesValueErrorBar.Value Property
Specifies error values.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[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.
<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;
}
See Also