Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / Series Class / Markers Property
Example


In This Topic
    Markers Property (Series)
    In This Topic
    Gives you access to the Markers object controlling the appearance of the data point markers.
    Syntax
    'Declaration
     
    <CategoryAttribute("Attributes")>
    <DescriptionAttribute("Controls the appearance of the data points markers.")>
    Public Property Markers As Markers
    'Usage
     
    Dim instance As Series
    Dim value As Markers
     
    instance.Markers = value
     
    value = instance.Markers
    [Category("Attributes")]
    [Description("Controls the appearance of the data points markers.")]
    public Markers Markers {get; set;}
    Remarks
    The data point markers are shapes displayed for each data point. The user can control various aspects of the markers with the help of the Markers class.

    Note: not all series derived from Series support markers.

    Example
    The following code shows the markers of a line series in blue color and changes the marker shape to sphere.
    line.Markers.Visible = True
    line.Markers.FIllEffect.SetSolidColor(Color.Blue)
    line.Markers.Style = PointStyle.Sphere
    line.Markers.Visible = true;
    line.Markers.FIllEffect.SetSolidColor(Color.Blue);
    line.Markers.Style = PointStyle.Sphere;
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also