Skip to main content

StockSeries.Style Property

Gets or sets the series appearance settings.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

#Declaration

C#
public StockSeriesStyle Style { get; set; }

#Property Value

Type Description
StockSeriesStyle

An object that stores the stock series appearance settings.

#Example

To change the stock series appearance, set the StockSeries.Style property to the StockSeriesStyle object, and use this object’s RisingStroke/FallingStroke and StrokeThickness properties that specify colors and thickness of data point markers.

Stock Series Appearance

<dxc:StockSeries>
    <dxc:StockSeries.Style>
        <dxc:StockSeriesStyle RisingStroke="#1f211f" FallingStroke="#e63833" StrokeThickness="2"/>
    </dxc:StockSeries.Style>
    <!--Series Data-->
</dxc:StockSeries>
See Also