TransparencyGradient.BaselineAlpha Property
Gets or sets the transparency (alpha channel) of an area at the baseline. This is a bindable property.
Namespace: DevExpress.Maui.Charts
Assembly: DevExpress.Maui.Charts.dll
NuGet Package: DevExpress.Maui.Charts
Declaration
public float BaselineAlpha { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Single | 0.80000001192092896 | A value between |
Remarks
You can apply a transparency gradient to the area fill color. To do this, assign a TransparencyGradient object to the AreaSeriesStyle.FillEffect property and specify alpha channels that define how the visible area color intensity changes from the baseline to the series line. This setting has a higher priority than Alpha.
<dxc:AreaSeries>
<!--Series Data-->
<dxc:AreaSeries.Style>
<dxc:AreaSeriesStyle Fill="#009688">
<dxc:AreaSeriesStyle.FillEffect>
<dxc:TransparencyGradient BaselineAlpha="0.6" SeriesLineAlpha="0"/>
</dxc:AreaSeriesStyle.FillEffect>
</dxc:AreaSeriesStyle>
</dxc:AreaSeries.Style>
</dxc:AreaSeries>
See Also