Nevron .NET Vision
Nevron.Chart Namespace / NMarkerStyle Class / Width Property
Example


In This Topic
    Width Property (NMarkerStyle)
    In This Topic
    Controls the width of the data point marker in NLength format
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("NSize")>
    <System.ComponentModel.DescriptionAttribute("Controls the width of the data point marker in model units")>
    <System.ComponentModel.EditorAttribute(Nevron.Editors.NLengthTypeEditor, System.Drawing.Design.UITypeEditor)>
    Public Property Width As NLength
    'Usage
     
    
    Dim instance As NMarkerStyle
    Dim value As NLength
     
    instance.Width = value
     
    value = instance.Width
    [System.ComponentModel.Category("NSize")]
    [System.ComponentModel.Description("Controls the width of the data point marker in model units")]
    [System.ComponentModel.Editor(Nevron.Editors.NLengthTypeEditor, System.Drawing.Design.UITypeEditor)]
    public NLength Width {get; set;}
    Remarks
    By default set to 2.5 percent of the chart area
    Example
    The following code increases the width of a line series marks
    line.MarkerStyle.Width = new NLength(2.75F, NRelativeUnit.ParentPercentage)
    line.MarkerStyle.Width = new NLength(2.75F, NRelativeUnit.ParentPercentage);
    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