Back to Devexpress

MarkerStyle Class

mobilecontrols-devexpress-dot-xamarinforms-dot-charts-2f21b5e0.md

latest2.6 KB
Original Source

MarkerStyle Class

Stores the appearance settings of data point markers for the Line, Spline, Point and Bubble series.

Namespace : DevExpress.XamarinForms.Charts

Assembly : DevExpress.XamarinForms.Charts.dll

NuGet Package : DevExpress.XamarinForms.Charts

Declaration

csharp
public class MarkerStyle :
    StyleBase

The following members return MarkerStyle objects:

Example

This example demonstrates how to customize the color and stroke of point markers for the Point series.

  1. Assign the PointSeriesStyle object to the PointSeries.Style property.
  2. Set the PointSeriesStyle.MarkerStyle to the MarkerStyle object and use this object’s properties to specify the appearance settings of point markers.

xml
<dxc:PointSeries>
    <dxc:PointSeries.Style>
        <dxc:PointSeriesStyle>
            <dxc:PointSeriesStyle.MarkerStyle>
                <dxc:MarkerStyle Fill="LightBlue" Stroke="Blue" StrokeThickness="2"/>
            </dxc:PointSeriesStyle.MarkerStyle>
        </dxc:PointSeriesStyle>
    </dxc:PointSeries.Style>
</dxc:PointSeries>

Implements

INotifyPropertyChanged

Inheritance

Object ChartElement StyleBase MarkerStyle

See Also

MarkerStyle Members

DevExpress.XamarinForms.Charts Namespace