Xceed Chart for WinForms v4.4 Documentation
PositionOffset Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > Axis Class : PositionOffset Property
Specifies the offset of the axis from the original position determined by the component.
Syntax
'Declaration
 
<DefaultValueAttribute()>

<CategoryAttribute("Position")>

<DescriptionAttribute("Specifies the offset of the axis from the original position determined by the component")>

Public Property PositionOffset As Single
'Usage
 
Dim instance As Axis

Dim value As Single

 

instance.PositionOffset = value

 

value = instance.PositionOffset
[DefaultValue()]

[Category("Position")]

[Description("Specifies the offset of the axis from the original position determined by the component")]

public float PositionOffset {get; set;}
Remarks
By default set to 0.
Example
The following code offsets the PrimaryY axis to the left.
Chart.Axis(StandardAxis.PrimaryY).PositionOffset = -2.5F
Chart.Axis(StandardAxis.PrimaryY).PositionOffset = -2.5f;
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