Skip to main content

BollingerBandsIndicatorStyle.UpperStroke Property

Gets or sets the color of the indicator’s upper band.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public Color UpperStroke { get; set; }

Property Value

Type Description
Color

The line color.

Example

To change the line appearance of the Bollinger Bands indicator, set its Style property to the BollingerBandsIndicatorStyle object with the specified settings.

<dxc:BollingerBandsIndicator>
    <dxc:BollingerBandsIndicator.Style>
        <dxc:BollingerBandsIndicatorStyle Stroke="#ff1ceb" StrokeThickness="2"
                                          UpperStroke="#ff1ceb" LowerStroke="#ff1ceb" />
    </dxc:BollingerBandsIndicator.Style>

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