Back to Devexpress

StockSeriesStyle.StrokeThickness Property

maui-devexpress-dot-maui-dot-charts-dot-stockseriesstyle-95fa69a0.md

latest1.8 KB
Original Source

StockSeriesStyle.StrokeThickness Property

Gets or sets the thickness of data point markers. This is a bindable property.

Namespace : DevExpress.Maui.Charts

Assembly : DevExpress.Maui.Charts.dll

NuGet Package : DevExpress.Maui.Charts

Declaration

csharp
public float StrokeThickness { get; set; }

Property Value

TypeDefaultDescription
Single-1

The point marker thickness, in scale-independent units.

|

Remarks

The resulting stroke thickness can differ on different Android devices. On Android emulators, the stroke thickness is always 1 due to technical limitations.

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.

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

See Also

StockSeriesStyle Class

StockSeriesStyle Members

DevExpress.Maui.Charts Namespace