DxChartSeriesValueErrorBar.Opacity Property
Specifies error bar transparency.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
Double | A value between |
Remarks
The Opacity
property accepts values from 0 (transparent) to 1 (opaque).
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