Nevron .NET Vision
Nevron.Chart Namespace / NSeries Class / MarkerStyle Property
Example


In This Topic
    MarkerStyle Property (NSeries)
    In This Topic
    Gets or sets a NMarkerStyle object controlling the default appearance of the data point markers.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Styles")>
    <System.ComponentModel.DescriptionAttribute("Controls the default appearance of the data points markers.")>
    <System.ComponentModel.EditorAttribute(Nevron.Editors.NMarkerStyleTypeEditor, System.Drawing.Design.UITypeEditor)>
    Public Property MarkerStyle As NMarkerStyle
    'Usage
     
    
    Dim instance As NSeries
    Dim value As NMarkerStyle
     
    instance.MarkerStyle = value
     
    value = instance.MarkerStyle
    [System.ComponentModel.Category("Styles")]
    [System.ComponentModel.Description("Controls the default appearance of the data points markers.")]
    [System.ComponentModel.Editor(Nevron.Editors.NMarkerStyleTypeEditor, System.Drawing.Design.UITypeEditor)]
    public NMarkerStyle MarkerStyle {get; set;}
    Remarks
    The data point markers are shapes displayed at each data point. You can control various aspects of the markers with the help of the NMarkerStyle class.
    Example
    The following code shows the markers of a line series in blue color and changes the marker shape to sphere.
    line.MarkerStyle.Visible = True
    line.MarkerStyle.FillStyle = new NColorFillStyle(Color.Blue)
    line.MarkerStyle.Style = PointShape.Sphere
    line.MarkerStyle.Visible = true;
    line.MarkerStyle.FillStyle = new NColorFillStyle(Color.Blue);
    line.MarkerStyle.Style = PointShape.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