Skip to main content

EnvelopeIndicatorStyle.Alpha Property

Gets or sets the alpha channel (opacity) of the area between envelope bands.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public float Alpha { get; set; }

Property Value

Type Description
Single

The value between 0 and 1 that specifies the envelope opacity.

Example

To change the envelope indicator appearance, set the Style property to the EnvelopeIndicatorStyle object and use this object’s properties to customize envelope lines and the area between them.

<dxc:EnvelopeIndicator>
    <dxc:EnvelopeIndicator.Style>
        <dxc:EnvelopeIndicatorStyle LowerStroke="#ff8fb1" LowerStrokeThickness="2" 
                                    UpperStroke="#ff8fb1" UpperStrokeThickness="2"
                                    Fill="#ff8fb1" Alpha="0.3"/>
    </dxc:EnvelopeIndicator.Style>

    <!--Indicator Data-->
</dxc:EnvelopeIndicator>
See Also