ChartValueErrorBarDisplayMode Enum
Lists error bar display modes.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
public enum ChartValueErrorBarDisplayMode
Members
Name | Description | Image |
---|---|---|
Auto
|
Displays both positive and negative error bars. |
|
Low
|
Displays negative error bars. |
|
High
|
Displays positive error bars. |
|
None
|
Hides error bars. |
Related API Members
The following properties accept/return ChartValueErrorBarDisplayMode values:
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 visible.
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