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 |
---|---|
|
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.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.
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