Back to Devexpress

TransparencyGradient Class

maui-devexpress-dot-maui-dot-charts-e5b8e0e5.md

latest2.5 KB
Original Source

TransparencyGradient Class

Stores transparency gradient settings for area series.

Namespace : DevExpress.Maui.Charts

Assembly : DevExpress.Maui.Charts.dll

NuGet Package : DevExpress.Maui.Charts

Declaration

csharp
public class TransparencyGradient :
    ChartElement

The following members return TransparencyGradient objects:

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.

xml
<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>

Implements

IElementController

INotifyPropertyChanged

Inheritance

System.Object BindableObject Element ChartElementBase ChartElement TransparencyGradient

Extension Methods

Yield<TransparencyGradient>()

YieldIfNotNull<TransparencyGradient>()

See Also

TransparencyGradient Members

DevExpress.Maui.Charts Namespace