Nevron .NET Vision
Nevron.Chart Namespace / NAutoSideAxisAnchor Class / PreferredSide Property


In This Topic
    PreferredSide Property
    In This Topic
    Gets or sets a value that specifies a preferred side for an axis.
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlAttributeAttribute()>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Gets or sets a value that specifies a preferred side for an axis")>
    Public Property PreferredSide As AutoSideAxisAnchorDock
    'Usage
     
    
    Dim instance As NAutoSideAxisAnchor
    Dim value As AutoSideAxisAnchorDock
     
    instance.PreferredSide = value
     
    value = instance.PreferredSide
    [System.Xml.Serialization.XmlAttribute()]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Gets or sets a value that specifies a preferred side for an axis")]
    public AutoSideAxisAnchorDock PreferredSide {get; set;}
    Remarks
    The automatic dock axis anchor dynamicaly chooses a dock zone for an axis, taking into account the current projection and the side preference. For an arbitrary 3D view there are two possible edges of the chart box that can host an axis. One of them is named "Primary" and the other "Secondary". This property determines which of these edges is selected for the axis. For example: for a Y axis the left side of the chart is primary, and the right side is secondary. If you choose the primary side the Y axis will always be displayed to the left, no matter how the chart is rotated.
    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