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


In This Topic
    Style Property (Markers)
    In This Topic
    Defines the style of the data point markers
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Defines the style of the data point markers")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property Style As PointStyle
    'Usage
     
    Dim instance As Markers
    Dim value As PointStyle
     
    instance.Style = value
     
    value = instance.Style
    [Category("General")]
    [Description("Defines the style of the data point markers")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public PointStyle Style {get; set;}
    Remarks
    By default set to Bar
    Example
    The following code displays a line series with sphere marks
    line.Markers.Visible = True
    line.Markers.Style = PointStyle.Sphere
    line.Markers.Visible = true;
    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