Dundas.SharePoint.Charting.WebParts Send comments on this topic.
AxisX Property
See Also 
Dundas.Charting.WebControl Namespace > Annotation Class : AxisX Property


Gets or sets the X axis an annotation is attached to.

Syntax

Visual Basic (Declaration)  
<DescriptionAttribute("Gets or sets the X axis an annotation is attached to.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Charting.WebControl.Design.AnnotationAxisUITypeEditor, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")>
<TypeConverterAttribute("Dundas.Charting.WebControl.Design.AnnotationAxisValueConverter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")>
<DefaultValueAttribute()>
<DesignerSerializationVisibilityAttribute()>
<SerializationVisibilityAttribute()>
<CategoryAttribute("Anchor/Axes")>
Public Overridable Property AxisX As Axis
Visual Basic (Usage) Copy Code
Dim instance As Annotation
Dim value As Axis
 
instance.AxisX = value
 
value = instance.AxisX
C#  
[DescriptionAttribute("Gets or sets the X axis an annotation is attached to.")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Charting.WebControl.Design.AnnotationAxisUITypeEditor, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")]
[TypeConverterAttribute("Dundas.Charting.WebControl.Design.AnnotationAxisValueConverter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")]
[DefaultValueAttribute()]
[DesignerSerializationVisibilityAttribute()]
[SerializationVisibilityAttribute()]
[CategoryAttribute("Anchor/Axes")]
public virtual Axis AxisX {get; set;}

Return Value

Axis object the annotation is attached to.

Remarks

When an annotation is attached to an axis it's X position is always in axis coordinates. To define an annotation's size in axis coordinates as well, make sure the SizeAlwaysRelative property is set to false.

Set this value to null or nothing to disable attachment to the axis.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also