DxChartRangeAreaSeries<T, TArgument, TValue>.Opacity Property
Specifies the transparency of a range area series.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(0.5)]
[Parameter]
public double Opacity { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Double | 0.5 | The opacity value. |
Remarks
Use the Opacity
property to specify transparency of a range area series. The property accepts a value from 0
to 1
, where 0
makes series transparent and 1
makes them opaque.
The following example sets the Opacity
property value to 0.7
:
<DxChart Data="@SalesData">
<DxChartRangeAreaSeries Name="2019"
Filter="@((SaleInfo s) => s.Date.Year == 2019)"
ArgumentField="@(s => s.City)"
ValueField="@(s => s.Amount)"
SummaryMethod="Enumerable.Sum"
Opacity="0.7" />
</DxChart>
See Also