DxChartSeriesValueErrorBar.LineWidth Property
Specifies the width of error bar lines.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(2)]
[Parameter]
public double LineWidth { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Double | 2 | The width in pixels. |
Remarks
The following example customizes error bar appearance:
<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.4"/>
</DxChartLineSeries>
<DxChartBarSeries Pane="BottomPane"
Name="@BarSeriesName"
ArgumentField="@((AverageTemperatureData i) => i.Month)"
ValueField="@((AverageTemperatureData i) => i.AverageHumidity)">
<DxChartSeriesValueErrorBar Type="ChartValueErrorBarType.Fixed"
Value="@ErrorBarValue"
DisplayMode="ChartValueErrorBarDisplayMode.Low"
EdgeLength="0.5"
Color="purple"
LineWidth="2" />
</DxChartBarSeries>
See Also