Xceed Chart for WinForms v4.4 Documentation
PredefinedPosition Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > Axis Class : PredefinedPosition Property
Controls the predefined position of the axis.
Syntax
'Declaration
 
<DescriptionAttribute("Controls the predefined position of the axis. Note that not all predefined positions are acceptable for each axis.")>
<CategoryAttribute("Position")>
Public Property PredefinedPosition As AxisPredefinedPosition
'Usage
 
Dim instance As Axis
Dim value As AxisPredefinedPosition
 
instance.PredefinedPosition = value
 
value = instance.PredefinedPosition
[Description("Controls the predefined position of the axis. Note that not all predefined positions are acceptable for each axis.")]
[Category("Position")]
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

Reference

Axis Class
Axis Members