Back to Devexpress

LineSeriesStyle Class

mobilecontrols-devexpress-dot-xamarinforms-dot-charts-f988eb85.md

latest2.6 KB
Original Source

LineSeriesStyle Class

Stores line series appearance settings.

Namespace : DevExpress.XamarinForms.Charts

Assembly : DevExpress.XamarinForms.Charts.dll

NuGet Package : DevExpress.XamarinForms.Charts

Declaration

csharp
public class LineSeriesStyle :
    PointSeriesStyle

The following members return LineSeriesStyle objects:

Example

To change the line series appearance, set the LineSeries.Style property to the LineSeriesStyle object. This object’s properties allow you to configure the appearance of the series line (Stroke, StrokeThickness) and point markers (MarkerSize, MarkerStyle).

xml
<dxc:LineSeries>
    <dxc:LineSeries.Style>
        <dxc:LineSeriesStyle Stroke="#7145a7" StrokeThickness="2" MarkerSize="8">
            <dxc:LineSeriesStyle.MarkerStyle>
                <dxc:MarkerStyle Fill="#7145a7"/>
            </dxc:LineSeriesStyle.MarkerStyle>
        </dxc:LineSeriesStyle>
    </dxc:LineSeries.Style>
</dxc:LineSeries>

Implements

INotifyPropertyChanged

Inheritance

Object ChartElement StyleBase PointSeriesStyle LineSeriesStyle AreaSeriesStyle

See Also

LineSeriesStyle Members

DevExpress.XamarinForms.Charts Namespace