Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / Axis Class / PredefinedPosition Property
Example


In This Topic
    PredefinedPosition Property
    In This Topic
    Controls the predefined position of the axis.
    Syntax
    'Declaration
     
    <CategoryAttribute("Position")>
    <DescriptionAttribute("Controls the predefined position of the axis. Note that not all predefined positions are acceptable for each axis.")>
    Public Property PredefinedPosition As AxisPredefinedPosition
    'Usage
     
    Dim instance As Axis
    Dim value As AxisPredefinedPosition
     
    instance.PredefinedPosition = value
     
    value = instance.PredefinedPosition
    [Category("Position")]
    [Description("Controls the predefined position of the axis. Note that not all predefined positions are acceptable for each axis.")]
    public AxisPredefinedPosition PredefinedPosition {get; set;}
    Remarks
    For the vertical axes the validvalues are: FrontLeft, FrontRight and BackRight.

    For the horizontal axes the valid values are: FrontBottom, FrontTop and BackTop.

    For the depth axis the valid values are: RightBottom, TopRight and TopLeft.

    Example
    The following code changes the position of the depth axis.
    Chart.Axis(StandardAxis.Depth).PredefinedPosition = AxisPredefinedPosition.TopRight
    Chart.Axis(StandardAxis.Depth).PredefinedPosition = AxisPredefinedPosition.TopRight;
    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